Skip to content

Commit

Permalink
Upgrade setup node action
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Feb 19, 2024
1 parent 3159ab7 commit b4d1ad5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/json-lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: json lint
on: [push]
jobs:
sdk-json-lint:
runs-on: ubuntu-latest
steps:
- name: git clone
uses: actions/checkout@v4
sdk-json-lint:
runs-on: ubuntu-latest
steps:
- name: git clone
uses: actions/checkout@v4

- name: set up node
uses: actions/setup-node@v3
with:
node-version: 18.8
- name: set up node
uses: actions/setup-node@v4
with:
node-version: 18.8

- name: install prettier
run: npm install [email protected] --global
- name: install prettier
run: npm install [email protected] --global

- name: lint .json files with prettier
run: prettier -c "**/*.json"
- name: lint .json files with prettier
run: prettier -c "**/*.json"

0 comments on commit b4d1ad5

Please sign in to comment.