Skip to content

Commit

Permalink
(actions) run on node 18 & 20 (#155)
Browse files Browse the repository at this point in the history
* (actions) run on node 18 & 20

* (actions) generate docs on node 20
  • Loading branch information
MatthijsBurgh authored Jun 11, 2024
1 parent a1699ab commit 4f0b510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: npm
node-version: 18
node-version: 20
- name: Install
run: npm ci
- name: Generate docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node_version: [16, 18]
node_version: [18, 20]
steps:
- uses: actions/checkout@v4
env:
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Build
run: npm run build
- uses: stefanzweifel/git-auto-commit-action@v5
if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 18 }}
if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 20 }}
with:
commit_message: Update Build
file_pattern: 'build/*.js'

0 comments on commit 4f0b510

Please sign in to comment.