This repository was archived by the owner on Jan 8, 2025. It is now read-only.
Commit e9c6d16 1 parent f95d67b commit e9c6d16 Copy full SHA for e9c6d16
File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 12
12
name : push
13
13
runs-on : ubuntu-latest
14
14
15
+ permissions :
16
+ # https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
17
+ id-token : write
18
+
15
19
steps :
16
20
- uses : actions/checkout@v3
17
21
- uses : actions/setup-node@v3
23
27
- run : yarn install --frozen-lockfile
24
28
- run : yarn run lint:ci
25
29
30
+ - run : yarn pack
31
+ - name : Publish to NPM (dry run)
32
+ # `yarn publish` does not support --provenance
33
+ run : npm publish foxglove-rosmsg-msgs-common-*.tgz --provenance --access public --dry-run
34
+ env :
35
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
26
36
- name : Publish to NPM
27
37
if : ${{ startsWith(github.ref, 'refs/tags/v') }}
28
- run : yarn publish --access public
38
+ # `yarn publish` does not support --provenance
39
+ run : npm publish foxglove-rosmsg-msgs-common-*.tgz --provenance --access public
29
40
env :
30
41
NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change 1
1
// -*- jsonc -*-
2
2
{
3
3
"editor.codeActionsOnSave" : {
4
- "source.fixAll.eslint" : true
4
+ "source.fixAll.eslint" : "explicit"
5
5
} ,
6
6
"editor.defaultFormatter" : "esbenp.prettier-vscode" ,
7
7
"editor.formatOnSave" : true ,
You can’t perform that action at this time.
0 commit comments