Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 4237291

Browse files
authored
Merge pull request #37 from sxwei123/feature/update-ci
Update CI actions to latest versions
2 parents 5be16d6 + 5bd38f3 commit 4237291

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ jobs:
1212
environment: prod
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
- name: Setup node.js
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v3
1818
with:
19-
node-version: "16.x"
20-
registry-url: "https://registry.npmjs.org"
19+
node-version: 16
2120
- run: yarn install
2221
- run: yarn publish
2322
env:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
node-version: [12.x, 14.x, 16.x, 18.x]
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
- name: Setup node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v3
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
registry-url: "https://registry.npmjs.org"

0 commit comments

Comments
 (0)