Skip to content

Commit 63e11d6

Browse files
committed
chore: combine release job with testing workflow
1 parent 7669ca2 commit 63e11d6

File tree

2 files changed

+20
-28
lines changed

2 files changed

+20
-28
lines changed

.github/workflows/nodejs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,23 @@ jobs:
6262
run: yarn test --coverage
6363
env:
6464
CI: true
65+
release:
66+
needs:
67+
- test-node
68+
- test-os
69+
name: release
70+
runs-on: ubuntu-latest
71+
steps:
72+
- uses: actions/checkout@v2
73+
- uses: actions/setup-node@v3
74+
with:
75+
node-version: 'lts/*'
76+
cache: yarn
77+
- name: install
78+
run: yarn
79+
- name: run build
80+
run: yarn build
81+
- run: yarn semantic-release
82+
env:
83+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)