Skip to content

Commit d4f0e6c

Browse files
Here's an update on the GitHub workflows:
- I've updated the Node.js versions to 18.x and 20.x in `pull-request.yml`. - The Node.js version in `npm-publish.yml` is now 20.x. - I've updated `actions/checkout` to v4 in all workflows. - Similarly, `actions/setup-node` has been updated to v4 across all workflows.
1 parent 0522843 commit d4f0e6c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
needs: build
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-node@v2
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-node@v4
2525
with:
26-
node-version: 16
26+
node-version: 20.x
2727
registry-url: https://registry.npmjs.org/
28-
- run: npm install
28+
- run: npm ci
2929
- run: npm publish
3030
env:
3131
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [12.x, 14.x, 16.x]
16+
node-version: [18.x, 20.x]
1717
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
cache: "npm"

0 commit comments

Comments
 (0)