Skip to content

Commit

Permalink
chore: set up semantic release and GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
captainsafia committed Jun 9, 2021
1 parent 91420b6 commit 56bb44d
Show file tree
Hide file tree
Showing 3 changed files with 4,457 additions and 84 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on: push
jobs:
test:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12'
- run: npm ci
- run: npm run build
- run: npm test
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
Loading

0 comments on commit 56bb44d

Please sign in to comment.