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 43992c2 commit 85422ccCopy full SHA for 85422cc
.github/workflows/node.js.yml renamed to .github/actions/node.js.yml
@@ -3,12 +3,6 @@
3
4
name: Node.js CI
5
6
-on:
7
- push:
8
- branches: [ "main" ]
9
- pull_request:
10
11
-
12
jobs:
13
publish-to-npm:
14
@@ -24,10 +18,13 @@ jobs:
24
18
with:
25
19
node-version: ${{ matrix.node-version }}
26
20
cache: 'npm'
21
+
27
22
- run: npm install
28
23
- run: npm run build
29
- run: cp cdk.json.built cdk.json
30
- run: npm pack
+ - run: npm adduser
+ - run: npm whoami
31
- run: npm publish --access=public
32
env:
33
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments