-
Notifications
You must be signed in to change notification settings - Fork 48
38 lines (35 loc) · 827 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (35 loc) · 827 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
35
36
37
38
name: "CI"
on:
push:
branches:
- master
pull_request:
jobs:
ci:
needs: [test]
runs-on: ubuntu-latest
steps:
- run: true
test:
name: npm ${{ matrix.script }}
runs-on: ubuntu-latest
strategy:
matrix:
script: ["test"]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Configure
run: |
git config --global user.email uirouter@github.actions
git config --global user.name uirouter_github_actions
- name: Install Dependencies
run: npm ci
# - name: Check Peer Dependencies
# run: npx check-peer-dependencies
- name: Run Tests
run: npm run ${{ matrix.script }}