@questwork/q-utilities 0.1.21 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,11 @@ on:
4
4
  tags:
5
5
  - 'v*'
6
6
  workflow_dispatch:
7
+
8
+ permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
+
7
12
  jobs:
8
13
  publish:
9
14
  runs-on: ubuntu-latest
@@ -39,8 +44,14 @@ jobs:
39
44
  pnpm run build
40
45
  fi
41
46
 
47
+ # - name: Publish to npm
48
+ # # if: steps.version-check.outputs.should_publish == 'true'
49
+ # run: pnpm publish --no-git-checks --access public
50
+ # env:
51
+ # NODE_AUTH_TOKEN: ${{ secrets.QW_NPM_TOKEN }}
52
+
53
+ - name: Update npm
54
+ run: npm install -g npm@latest
55
+
42
56
  - name: Publish to npm
43
- # if: steps.version-check.outputs.should_publish == 'true'
44
- run: pnpm publish --no-git-checks --access public
45
- env:
46
- NODE_AUTH_TOKEN: ${{ secrets.QW_NPM_TOKEN }}
57
+ run: npm publish --access public