Skip to content

Commit

Permalink
Merge pull request #22 from ashes4trees/main
Browse files Browse the repository at this point in the history
fix(issue #5): test semantic-release
  • Loading branch information
OleDakotaJoe authored Mar 3, 2022
2 parents 34fc970 + 108da11 commit f20230c
Show file tree
Hide file tree
Showing 3 changed files with 27,728 additions and 15,018 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 npm package

on:
push:
branches:
- main

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@v1
with:
node-version: "16.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 f20230c

Please sign in to comment.