Skip to content

Commit a3d7232

Browse files
Merge pull request #62 from alexandercbooth/semantic-release
chore: add config for semantic release + github actions
2 parents 3d9a991 + ade4e96 commit a3d7232

File tree

5 files changed

+30590
-2
lines changed

5 files changed

+30590
-2
lines changed

.github/workflows/npm-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ubuntu-16.04
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: '12'
11+
- run: npm ci
12+
- run: npm run build
13+
- run: npm test
14+
- name: Release
15+
env:
16+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
run: npx semantic-release

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)