chore(version): Prepare for release v1.1.0 #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [ Windows, Ubuntu ] | |
node-ver: [16.x, 18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js v${{ matrix.node-ver }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-ver }} | |
cache: 'npm' | |
- name: Clean install the project | |
run: npm ci | |
- name: Build the project | |
run: npm run build --if-present | |
- name: Test the project | |
run: npm test |