forked from ionic-team/ionic-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 747 Bytes
/
ci.yml
File metadata and controls
34 lines (32 loc) · 747 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: CI
on:
push:
branches-ignore:
- stable
pull_request:
branches-ignore:
- stable
jobs:
build-and-test:
name: Build and Test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node:
- 18.x
- 16.x
steps:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: actions/checkout@v3
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
- run: npm install
- run: npm run bootstrap
- run: npm run lint
- run: npm test