Skip to content

Commit

Permalink
Merge pull request #182 from openstreetmap-polska/setupNode
Browse files Browse the repository at this point in the history
Upgrade checkout/setup-node actions to v4
  • Loading branch information
starsep authored Dec 23, 2023
2 parents 153a6df + 838d682 commit 16f56ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check JSON syntax errors in translations via jq
run: jq . public/locales/*/translation.json > /dev/null
- name: Setup Node JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci
- name: Run TypeScript typecheck
run: npm run typecheck
- name: Run linter
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
ssh-host: ${{ secrets.SSH_HOST_NEW_IP }}
ssh-port: ${{ secrets.SSH_HOST_NEW_PORT }}
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci
- name: Run TypeScript typecheck
run: npm run typecheck
- name: Set git commit
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
ssh-host: ${{ secrets.SSH_HOST_NEW_IP }}
ssh-port: ${{ secrets.SSH_HOST_NEW_PORT }}
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci
- name: Run TypeScript typecheck
run: npm run typecheck
- name: Set git commit
Expand Down

0 comments on commit 16f56ae

Please sign in to comment.