-
Notifications
You must be signed in to change notification settings - Fork 17
48 lines (39 loc) · 955 Bytes
/
app-test.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: App - Test
on:
push:
paths:
- 'app/**'
- '.pretterrc'
- 'eslint-config/**'
defaults:
run:
working-directory: ./app/
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16.15
- name: yarn install
run: |
yarn install --frozen-lockfile --network-timeout 300000
env:
PALETTE_ASSET_KEY: ${{ secrets.PALETTE_ASSET_KEY }}
- name: Package, Typecheck, and Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PALETTE_ASSET_KEY: ${{ secrets.PALETTE_ASSET_KEY }}
run: |
yarn package
yarn tsc
yarn test
- name: Lint
run: |
yarn lint