-
-
Notifications
You must be signed in to change notification settings - Fork 23
34 lines (31 loc) · 1.2 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Tests & lint
permissions:
contents: read
on:
push:
branches:
- main
- vue-legacy
pull_request:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
- run: nix-shell --pure --run "pnpm install --frozen-lockfile"
- name: Typecheck
run: nix-shell --pure --run "pnpm run typecheck"
- name: Build
run: nix-shell --pure --run "pnpm run build"
- name: Lint
run: nix-shell --pure --run "pnpm run lint"
- name: Test
run: nix-shell --pure --run "pnpm test"
- name: Mutation testing
run: nix-shell --pure --run "pnpm run test-mutation"
- name: Dry run release
run: nix-shell --pure --run "pnpm publish --dry-run --recursive --provenance --access public --no-git-checks"
- uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1