-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 805 Bytes
/
check.yml
File metadata and controls
28 lines (28 loc) · 805 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
on: push
jobs:
check-yarn:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: |
git config --global user.email "test@test.com"
git config --global user.name "CI Test"
- run: yarn test:yarn
check-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: |
git config --global user.email "test@test.com"
git config --global user.name "CI Test"
- run: yarn test:npm