-
-
Notifications
You must be signed in to change notification settings - Fork 34
35 lines (25 loc) Β· 724 Bytes
/
Copy pathmain.yml
File metadata and controls
35 lines (25 loc) Β· 724 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
32
33
34
35
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows run workflow from Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Install with Yarn
run: yarn && yarn allow-scripts
- name: Run @lavamoat/git-safe-dependencies
run: yarn git-safe-dependencies
- name: Run @lavamoat/git-safe-dependencies (git-safe-actions)
run: yarn git-safe-actions
- name: Run TypeScript Go compiler
run: yarn tsgo
- name: Lint with ESLint
run: yarn lint
- name: Test with Jest
run: yarn test