-
-
Notifications
You must be signed in to change notification settings - Fork 23
31 lines (28 loc) · 1.13 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
name: Tests & lint
permissions: read-all
on:
push:
branches:
- main
- vue-legacy
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24
- 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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4