Skip to content

Commit

Permalink
chore(ci): add github actions ci (#84)
Browse files Browse the repository at this point in the history
for releasing package automatically
  • Loading branch information
zoetrope69 authored Sep 6, 2021
1 parent 99090c5 commit be6208a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/.release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
- name: Install dependencies
run: npm ci
- name: Run test
run: npm test
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

0 comments on commit be6208a

Please sign in to comment.