Skip to content

Commit

Permalink
ci: add release (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sniperadmin authored Nov 21, 2021
1 parent b033c31 commit 09fe2b3
Show file tree
Hide file tree
Showing 3 changed files with 15,056 additions and 6,004 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- run: npm ci
- run: npm run build --if-present
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit 09fe2b3

Please sign in to comment.