Skip to content

Commit ddc85dc

Browse files
committed
Updated GitHub Actions
1 parent 84fc4ea commit ddc85dc

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
strategy:
1919
matrix:
2020
include:
21-
- node-version: 14.x
2221
- node-version: 16.x
2322
- node-version: 18.x
2423
- node-version: 20.x
@@ -33,9 +32,8 @@ jobs:
3332
uses: actions/setup-node@v3
3433
with:
3534
node-version: ${{ matrix.node-version }}
36-
- run: npm install -g npm@latest
3735
- run: npm ci
38-
- run: npm run build --if-present
36+
- run: npm run build
3937
- if: ${{ matrix.browser }}
4038
run: npm run test-browsers -- --browsers=${{ matrix.browser }}
4139
- if: ${{ !matrix.browser }}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
strategy:
1717
matrix:
1818
include:
19-
- node-version: 14.x
2019
- node-version: 16.x
2120
- node-version: 18.x
2221
- node-version: 20.x
@@ -31,7 +30,6 @@ jobs:
3130
uses: actions/setup-node@v3
3231
with:
3332
node-version: ${{ matrix.node-version }}
34-
- run: npm install -g npm@latest
3533
- run: npm ci
3634
- run: npm run build --if-present
3735
- if: ${{ matrix.browser }}
@@ -47,7 +45,7 @@ jobs:
4745
- uses: actions/checkout@v3
4846
- uses: actions/setup-node@v3
4947
with:
50-
node-version: 14.x
48+
node-version: 20.x
5149
registry-url: https://registry.npmjs.org/
5250
- run: npm ci
5351
- run: npm publish

0 commit comments

Comments
 (0)