-
Notifications
You must be signed in to change notification settings - Fork 14
38 lines (31 loc) · 967 Bytes
/
main.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
name: CI
on: [pull_request]
jobs:
build:
name: Verify react-beautiful-dnd-test-utils on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['12.18.1']
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install module dependencies (without cache)
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Validate and build module
run: npm run build
- name: Install example app dependencies (without cache)
uses: bahmutov/npm-install@v1
with:
useLockFile: false
working-directory: ./example
- name: Test example app with built module
run: npm run test
working-directory: ./example