Skip to content

Commit ef15a98

Browse files
authored
Merge pull request #46 from devallibus/development
ci: switch npm publish to trusted publishing
2 parents e25a803 + 0ab9a2a commit ef15a98

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/validate.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ jobs:
128128
CURRENT=$(npm view @shaderbase/cli version 2>/dev/null || echo "0.0.0")
129129
LOCAL=$(node -p "require('./package.json').version")
130130
if [ "$CURRENT" != "$LOCAL" ]; then
131-
npm publish --access public
131+
npm publish --access public --provenance
132132
else
133133
echo "Version $LOCAL already published, skipping."
134134
fi
135-
env:
136-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)