From 3f64df7b60b033a434775f13aaeee7e86a9af653 Mon Sep 17 00:00:00 2001 From: Vignesh Kennadi Date: Mon, 30 Sep 2024 10:24:30 +0530 Subject: [PATCH] try removing permissions --- .github/workflows/publish.yml | 5 +---- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4299c299..035b3ecc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,13 +2,11 @@ name: Publish on: release: types: [published] + push: jobs: publish: runs-on: ubuntu-latest - permissions: - contents: read - id-token: write steps: - name: Checkout xero-node repo uses: actions/checkout@v4 @@ -22,7 +20,6 @@ jobs: node-version: 20 cache: 'npm' cache-dependency-path: '**/package-lock.json' - registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci diff --git a/package-lock.json b/package-lock.json index 93aea2d4..e179476c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "xero-node", - "version": "9.3.0", + "version": "9.3.0-alpha.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "xero-node", - "version": "9.3.0", + "version": "9.3.0-alpha.2", "license": "MIT", "dependencies": { "axios": "^1.6.5", diff --git a/package.json b/package.json index 47485b0a..2fd9fa35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xero-node", - "version": "9.3.0", + "version": "9.3.0-alpha.2", "description": "Xero NodeJS OAuth 2.0 client for xero-node", "main": "dist/index.js", "types": "dist/index.d.ts",