Update Github Workflows (#435)

* update build.yml

* Add Node 20 to testing matrix

* Remove EOL Node 16

* Update remaining workflows
This commit is contained in:
Chris Bateman 2023-11-29 23:02:38 +11:00 committed by GitHub
parent 600718fabe
commit 06a24ef908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -13,12 +13,12 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [16.x, 18.x] node-version: [18.x, 20.x]
os-type: [windows-latest, macos-latest, ubuntu-latest] os-type: [windows-latest, macos-latest, ubuntu-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v2 - uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm install - run: npm install

View File

@ -9,8 +9,8 @@ jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v2 - uses: actions/setup-node@v4
with: with:
node-version: '18.x' node-version: '18.x'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'

View File

@ -1,6 +1,6 @@
name: Release Publish name: Release Publish
on: on:
push: push:
tags: tags:
- '*' - '*'
@ -12,8 +12,8 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v2 - uses: actions/setup-node@v4
with: with:
node-version: '18.x' node-version: '18.x'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'