Skip to content

Commit

Permalink
Merge pull request #242 from SocketDev/v1.4.3
Browse files Browse the repository at this point in the history
v1.4.3
  • Loading branch information
typicode authored Jan 7, 2025
2 parents adbf4b8 + 5c3768c commit 61e22bc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/provenance.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
name: Publish Package to npmjs

on:
release:
types: [created]
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
cache: npm
scope: '@socketsecurity'
- run: npm install
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@socketsecurity/sdk",
"version": "1.4.2",
"name": "sdk",
"version": "1.4.3",
"license": "MIT",
"description": "SDK for the Socket API client",
"author": {
Expand Down

0 comments on commit 61e22bc

Please sign in to comment.