We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7612d45 commit 7017919Copy full SHA for 7017919
.github/workflows/release.yml
@@ -0,0 +1,23 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - uses: actions/setup-node@v1
14
+ with:
15
+ node-version: 12
16
+ registry-url: https://registry.npmjs.org
17
+ - run: npm install
18
+ - run: npm run build
19
+ - run: npx semantic-release
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
package.json
@@ -1,6 +1,6 @@
{
"name": "gatsby-source-nhl",
- "version": "1.0.0",
+ "version": "0.0.0",
"description": "A Gatsby source plugin to load resources from the NHL API.",
"main": "index.js",
"scripts": {
0 commit comments