Skip to content

Commit dd4bb1c

Browse files
cholgateSCbot-snapci
authored andcommitted
Internal Change
GitOrigin-RevId: e64e5f69da7ce2166f6668949992f712e983d5d4
1 parent 91b7211 commit dd4bb1c

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.github/workflows/publish-npm.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ jobs:
5151
- name: Checkout code
5252
uses: actions/checkout@v4
5353

54+
- name: Preflight
55+
run: |
56+
node -v
57+
npm -v
58+
npm ping
59+
npm whoami || echo "OIDC identity will be used"
60+
5461
- name: Setup Node.js
5562
uses: actions/setup-node@v4
5663
with:
@@ -64,6 +71,8 @@ jobs:
6471
run: npm run build
6572

6673
- name: Publish @snap/valdi to npm
74+
env:
75+
NPM_CONFIG_PROVENANCE: 'true'
6776
run: npm publish --access public
6877

6978
publish-eslint-plugin:
@@ -74,9 +83,17 @@ jobs:
7483
run:
7584
working-directory: npm_modules/eslint-plugin-valdi
7685
steps:
86+
7787
- name: Checkout code
7888
uses: actions/checkout@v4
7989

90+
- name: Preflight
91+
run: |
92+
node -v
93+
npm -v
94+
npm ping
95+
npm whoami || echo "OIDC identity will be used"
96+
8097
- name: Setup Node.js
8198
uses: actions/setup-node@v4
8299
with:
@@ -90,5 +107,7 @@ jobs:
90107
run: npm run build
91108

92109
- name: Publish @snap/eslint-plugin-valdi to npm
110+
env:
111+
NPM_CONFIG_PROVENANCE: 'true'
93112
run: npm publish --access public
94113

npm_modules/cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "@snap/valdi",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Valdi CLI tools for developers",
55
"license": "ISC",
6+
"publishConfig": { "access": "public" },
67
"bin": {
78
"valdi": "dist/index.js"
89
},

npm_modules/eslint-plugin-valdi/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@snap/eslint-plugin-valdi",
33
"version": "1.0.2",
44
"description": "ESLint rules for the Valdi project",
5+
"publishConfig": { "access": "public" },
56
"main": "dist/index.js",
67
"scripts": {
78
"build": "npm exec --package=typescript@5.7.2 tsc",

0 commit comments

Comments
 (0)