File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 12
12
with :
13
13
private-key : ${{ secrets.TOKENS_PRIVATE_KEY }}
14
14
app-id : ${{ secrets.TOKENS_APP_ID }}
15
-
16
15
- uses : GoogleCloudPlatform/release-please-action@v3
16
+ id : release
17
17
with :
18
18
token : ${{ steps.get-token.outputs.token }}
19
19
release-type : node
20
20
package-name : ' @netlify/plugin-secrets-manager'
21
+ - uses : actions/checkout@v3
22
+ if : ${{ steps.release.outputs.release_created }}
23
+ - uses : actions/setup-node@v3
24
+ with :
25
+ node-version : ' *'
26
+ cache : ' npm'
27
+ check-latest : true
28
+ registry-url : ' https://registry.npmjs.org'
29
+ if : ${{ steps.release.outputs.release_created }}
30
+ - name : Install dependencies
31
+ run : npm ci
32
+ if : ${{ steps.release.outputs.release_created }}
33
+ - name : Linting
34
+ run : npm run format:ci
35
+ if : ${{ steps.release.outputs.release_created }}
36
+ - name : Tests
37
+ run : npm run test:ci
38
+ if : ${{ steps.release.outputs.release_created }}
39
+ - name : Publish to npm
40
+ run : npm publish
41
+ if : ${{ steps.release.outputs.release_created }}
42
+ env :
43
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments