-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.07 KB
/
expotools.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
name: Expotools
on:
workflow_dispatch: {}
push:
branches: [master, 'sdk-*']
paths:
- .github/workflows/expotools.yml
- tools/**
pull_request:
paths:
- .github/workflows/expotools.yml
- tools/**
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: 👀 Checkout
uses: actions/checkout@v2
- name: ♻️ Restore node modules in tools
uses: actions/cache@v2
id: tools-modules-cache
with:
path: tools/node_modules
key: ${{ runner.os }}-tools-modules-${{ hashFiles('tools/yarn.lock') }}
restore-keys: |
${{ runner.os }}-tools-modules-
- name: 🧶 Install modules in tools dir
if: steps.tools-modules-cache.outputs.cache-hit != 'true'
run: yarn install --ignore-scripts --frozen-lockfile
working-directory: tools
- name: 🛠 Compile TypeScript sources
run: yarn tsc
working-directory: tools