Skip to content

CI/CD

CI/CD #263

Workflow file for this run

name: 'CI/CD'
on:
- push
concurrency:
group: ${{ github.ref }}-cicd
cancel-in-progress: true
jobs:
lint-test:
name: 'Lint/Test'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: 'Checkout'
uses: actions/checkout@master
- name: Cache node_modules
id: cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --ignore-scripts
- name: Lint
run: yarn lint
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Invoke
run: ./bin/perf