generated from atls-lab/template
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 951 Bytes
/
checks.yaml
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
36
37
38
39
40
41
42
name: Checks
on:
pull_request:
jobs:
check:
name: Lint, type check
env:
NODE_VERSION: '19'
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }}
private-key: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install
uses: ./.github/actions/install
- name: Checks
uses: ./.github/actions/checks
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Tests
uses: ./.github/actions/test
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}