-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (33 loc) · 960 Bytes
/
pull_requests.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
name: pull_request
on:
pull_request:
branches:
- master
types: [opened, reopened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Cache builder node modules
id: cache
uses: actions/cache@v1
with:
path: |
node_modules
!node_modules/@jefiozie
key: ${{ runner.OS }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}${{ env.cache-name }}-
${{ runner.OS }}${{ matrix.version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run symlinks
- run: npx nx run-many --target=build --all --prod
- run: npm run scully -- --sr --project blog