From 3538b99d844a4a8eab1b122c8006e74ae3465141 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 22 Apr 2024 23:39:53 +0200 Subject: [PATCH] fix: Update workflows from organization Signed-off-by: Ferdinand Thiessen --- .github/workflows/npm-publish.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1e234f8..66c81a1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -19,11 +19,6 @@ jobs: name: Build and publish to npm steps: - - name: Check actor permission level - uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1 - with: - require: admin - - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -32,10 +27,10 @@ jobs: id: versions with: fallbackNode: '^20' - fallbackNpm: '^9' + fallbackNpm: '^10' - name: Set up node ${{ steps.versions.outputs.nodeVersion }} - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v3 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3 with: node-version: ${{ steps.versions.outputs.nodeVersion }} @@ -55,13 +50,3 @@ jobs: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Setup Github Package Registry - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v3 - with: - registry-url: 'https://npm.pkg.github.com' - - - name: Publish package on GPR - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}