@opengovsg/mockpass 4.5.1 → 4.5.2

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.
@@ -7,6 +7,8 @@ on:
7
7
  jobs:
8
8
  publish-npm:
9
9
  runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
10
12
  steps:
11
13
  - uses: actions/checkout@v4
12
14
  - uses: actions/setup-node@v3
@@ -15,10 +17,10 @@ jobs:
15
17
  cache: 'npm'
16
18
  cache-dependency-path: '**/package-lock.json'
17
19
  registry-url: https://registry.npmjs.org/
20
+ - name: Update npm
21
+ run: npm install -g npm@latest # Get the latest npm for OIDC support
18
22
  - run: npm ci
19
23
  - run: npm publish --access public
20
- env:
21
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22
24
  publish-docker:
23
25
  runs-on: ubuntu-latest
24
26
  steps:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengovsg/mockpass",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "A mock SingPass/CorpPass server for dev purposes",
5
5
  "main": "app.js",
6
6
  "bin": {