Skip to content

Commit e79da26

Browse files
committed
Change tests
1 parent 2867ee5 commit e79da26

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

.github/workflows/test-develop.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
name: Test develop
5+
6+
on:
7+
push:
8+
branches: [ develop ]
9+
pull_request:
10+
branches: [ develop ]
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v1
18+
with:
19+
node-version: 12
20+
registry-url: https://registry.npmjs.org/
21+
- run: npm ci
22+
- run: npm run build
23+
- run: npm run test

.github/workflows/test.yml renamed to .github/workflows/test-master.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
33

4-
name: Tests
4+
name: Test master
55

66
on:
7+
push:
8+
branches: [ master ]
79
pull_request:
8-
branches: [ develop, master ]
10+
branches: [ master ]
911

1012
jobs:
1113
test:

0 commit comments

Comments
 (0)