generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 737 Bytes
/
test.yml
File metadata and controls
31 lines (28 loc) · 737 Bytes
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: test
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: andykenward/github-actions/setup-pnpm@32471b1e0a5df8a09500a54b1254e3f0f881e52d #v1.0.3
with:
node-version: 20
- name: Lint
run: pnpm run lint
- name: Typecheck
run: pnpm run tsc:check
- name: Test
run: pnpm run test:ci