Skip to content

feat: Add basix nix shell #26

feat: Add basix nix shell

feat: Add basix nix shell #26

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags:
- "!**" # Don't run twice on commits with tags
pull_request:
workflow_dispatch:
jobs:
release:
name: Lint and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Check vulnerabilities
run: npm audit
- name: Lint
run: npm run lint
- name: Run tests
run: npm run test
- name: Generate test coverage
run: npm run test-coverage
- name: Upload test coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}