Skip to content

Commit a581c53

Browse files
authored
Merge pull request #36 from Jnegrier/pkg-125
Updated dependencies. Added action to publish
2 parents 906a06b + 3c97dd2 commit a581c53

File tree

4 files changed

+231
-58
lines changed

4 files changed

+231
-58
lines changed

.github/workflows/main.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish new package version
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '12.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npm install
16+
- run: npm run prepare
17+
- run: npm run test
18+
- run: npm publish
19+
env:
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ npm-debug.log
99
.tmp
1010
logs
1111
lib
12+
.spectre_test_run_url.json

0 commit comments

Comments
 (0)