forked from snowplow/snowplow-javascript-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 833 Bytes
/
Copy pathchange_check.yml
File metadata and controls
34 lines (26 loc) · 833 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
name: Pull Request Check
on: pull_request
jobs:
check:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: pnpm cache
uses: actions/cache@v2
with:
path: ./common/temp/pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-
- name: Install
run: node common/scripts/install-run-rush.js install
- name: Check dependencies
run: node common/scripts/install-run-rush.js check
- name: Verify change files
run: node common/scripts/install-run-rush.js change --verify