Skip to content

Commit

Permalink
fix(deploy): add dry release for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenWesterlaken committed May 18, 2022
1 parent c244c32 commit 79bb734
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,30 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

release-dry:
if: github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install
run: npm i

- name: build
run: npm run build

- name: Release
run: npm run semantic-release-dry
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 79bb734

Please sign in to comment.