We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d818b96 commit 381aff9Copy full SHA for 381aff9
.github/workflows/CD.yml renamed to .github/workflows/CICD.yml
@@ -1,19 +1,23 @@
1
-name: Publish Package to npmjs
+name: CICD
2
on:
3
push:
4
- branches: [next, master]
5
6
jobs:
7
- build:
+ test:
8
runs-on: ubuntu-latest
9
steps:
10
- name: Checkout
11
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
12
- name: Unit tests
13
run: |
14
npm install
15
npm run test
16
- - uses: actions/checkout@v3
+
+ build:
17
+ runs-on: ubuntu-latest
18
+ needs: test
19
+ if: github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master'
20
+ steps:
21
- name: Semantic Release
22
uses: cycjimmy/semantic-release-action@v3
23
id: semantic
0 commit comments