Skip to content

Commit

Permalink
ci: update action to use Node.js 20
Browse files Browse the repository at this point in the history
actions/checkout@v3, actions/setup-node@v3 -> @v4
  • Loading branch information
vimalnathnambiar committed Apr 12, 2024
1 parent 654df94 commit 53872b1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -38,15 +38,14 @@ jobs:
npm-publish:
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['lts/*']
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
needs: [build]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down

0 comments on commit 53872b1

Please sign in to comment.