Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Add Node.js 20.x to GitHub CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
FastAlien committed May 13, 2023
1 parent 2bf80de commit 07dcd9c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Node.js CI

on: [push]
on: [ push ]

jobs:
build:
runs-on: ${{matrix.os}}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x]
os: [ ubuntu-latest, windows-latest, macos-latest ]
node-version: [ 14.x, 16.x, 18.x, 20.x ]

steps:
- uses: actions/checkout@v2
- name: Setup Node.js ${{matrix.node-version}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node-version}}
- run: npm install
- run: npm run build
- run: npm test
env:
CI: true
- uses: actions/checkout@v2
- name: Setup Node.js ${{matrix.node-version}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node-version}}
- run: npm install
- run: npm run build
- run: npm test
env:
CI: true

0 comments on commit 07dcd9c

Please sign in to comment.