Skip to content

Version Packages (#42) #75

Version Packages (#42)

Version Packages (#42) #75

Workflow file for this run

name: Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
checks:
name: Check ${{ matrix.script }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
script: [lint, prettier, tsc, test]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: |
npm ci
- name: Build
run: |
npm run build
- name: ${{ matrix.script }}
run: npm run ${{ matrix.script }}