Skip to content

Version Packages

Version Packages #152

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
# Enable turbo remote caching
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install NPM
run: npm ci
- name: Build
run: npm run build
env:
CI: true
- name: Test
run: npm test
env:
CI: true
- name: Lint
run: npm run lint
env:
CI: true