We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5317c commit 1cfabefCopy full SHA for 1cfabef
.github/workflows/npm-publish.yml
@@ -0,0 +1,35 @@
1
+name: Release Backstage GitHub Plugin
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ validate:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: 16
15
+ - run: |
16
+ npm i -g yarn
17
+ yarn install
18
+ yarn tsc
19
20
+ publish-npm:
21
+ needs: validate
22
23
24
25
26
27
28
+ registry-url: https://registry.npmjs.org/
29
30
31
32
+ yarn build
33
+ npm publish
34
+ env:
35
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments