Skip to content

Commit 41e2959

Browse files
committed
chore: use node 16 because of tap tests
1 parent f269dfe commit 41e2959

File tree

3 files changed

+32
-45
lines changed

3 files changed

+32
-45
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,49 +13,41 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
- name: Setup Node.js
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16.x
20+
node-version: 16
21+
2122
- name: Install Dependencies
22-
run: |
23-
npm install
24-
env:
25-
CI: true
23+
run: npm install
24+
2625
- name: Lint Files
27-
run: |
28-
npm run lint:check
29-
env:
30-
CI: true
26+
run: npm run lint:check
27+
3128
- name: Check File Formatting
32-
run: |
33-
npm run format:check
34-
env:
35-
CI: true
29+
run: npm run format:check
30+
3631
- name: Run Tests
37-
run: |
38-
npm run test:ci
39-
env:
40-
CI: true
32+
run: npm run test:ci
4133

4234
release:
4335
name: Release
4436
runs-on: ubuntu-latest
4537
needs: [test]
4638
steps:
4739
- name: Checkout Code
48-
uses: actions/checkout@v2
40+
uses: actions/checkout@v4
4941
- name: Setup Node.js
50-
uses: actions/setup-node@v2
42+
uses: actions/setup-node@v4
5143
with:
52-
node-version: 16.x
44+
node-version: 20
45+
5346
- name: Install Dependencies
54-
run: |
55-
npm install
47+
run: npm install
48+
5649
- name: Run Semantic Release
57-
run: |
58-
npx semantic-release
50+
run: npx semantic-release
5951
env:
6052
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
6153
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,24 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
16-
node-version: [14.x, 16.x]
16+
node-version: [16.x]
17+
1718
steps:
18-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
20+
1921
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2123
with:
2224
node-version: ${{ matrix.node-version }}
25+
2326
- name: Install Dependencies
24-
run: |
25-
npm install
26-
env:
27-
CI: true
27+
run: npm install
28+
2829
- name: Lint Files
29-
run: |
30-
npm run lint:check
31-
env:
32-
CI: true
30+
run: npm run lint:check
31+
3332
- name: Check File Formatting
34-
run: |
35-
npm run format:check
36-
env:
37-
CI: true
33+
run: npm run format:check
34+
3835
- name: Run Tests
39-
run: |
40-
npm run test:ci
41-
env:
42-
CI: true
36+
run: npm run test:ci

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

0 commit comments

Comments
 (0)