Skip to content

Commit

Permalink
Updated GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Dec 6, 2023
1 parent 84fc4ea commit ddc85dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
strategy:
matrix:
include:
- node-version: 14.x
- node-version: 16.x
- node-version: 18.x
- node-version: 20.x
Expand All @@ -33,9 +32,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g npm@latest
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- if: ${{ matrix.browser }}
run: npm run test-browsers -- --browsers=${{ matrix.browser }}
- if: ${{ !matrix.browser }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
strategy:
matrix:
include:
- node-version: 14.x
- node-version: 16.x
- node-version: 18.x
- node-version: 20.x
Expand All @@ -31,7 +30,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g npm@latest
- run: npm ci
- run: npm run build --if-present
- if: ${{ matrix.browser }}
Expand All @@ -47,7 +45,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 20.x
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
Expand Down

0 comments on commit ddc85dc

Please sign in to comment.