Skip to content

chore(node): upgrade to node v20 #87

chore(node): upgrade to node v20

chore(node): upgrade to node v20 #87

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
jobs:
tests:
strategy:
matrix:
node: [ '14.x', '16.x', '18.x', '20.x' ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: |
git remote set-branches --add origin main
git fetch
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm ci
env:
NODE_ENV: development
- name: Unit Tests
run: npm run test
env:
NODE_ENV: production
- name: Lockfile Lint Test
run: npm run test:lockfile
env:
NODE_ENV: production
- name: Git History Test
run: npm run test:git-history
env:
NODE_ENV: production
- name: Lint
run: npm run lint
env:
NODE_ENV: production