-
Notifications
You must be signed in to change notification settings - Fork 3
27 lines (22 loc) · 735 Bytes
/
nodejs.yml
File metadata and controls
27 lines (22 loc) · 735 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
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build-lib
- run: npm run build
- run: ./node_modules/.bin/ng test angular-particle-effect-button --progress false --watch=false --browsers ChromeHeadlessCustom
- run: ./node_modules/.bin/ng test particle-effect-button --progress false --watch=false --browsers ChromeHeadlessCustom
- run: npm run lint
env:
CI: true