@sesamecare-oss/us-postal-codes 1.0.0 → 1.1.0

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.
@@ -10,32 +10,28 @@ on:
10
10
  permissions:
11
11
  contents: read
12
12
 
13
- jobs:
14
- prepare:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - name: Cleanup stale actions
18
- uses: styfle/cancel-workflow-action@0.11.0
19
- with:
20
- access_token: ${{ github.token }}
13
+ concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
21
16
 
17
+ jobs:
22
18
  build:
23
19
  runs-on: ubuntu-latest
24
20
  steps:
25
- - uses: actions/checkout@v3
26
- - name: Use Node.js 18
27
- uses: actions/setup-node@v3
28
- with:
29
- node-version: 20
30
- cache: yarn
31
- - name: npm install, lint, build, and test
32
- run: |
33
- yarn install --immutable
34
- yarn lint
35
- yarn build
36
- yarn test
37
- env:
38
- CI: true
21
+ - uses: actions/checkout@v6
22
+ - name: Use Node.js 22
23
+ uses: actions/setup-node@v6
24
+ with:
25
+ node-version: 22
26
+ cache: yarn
27
+ - name: npm install, lint, build, and test
28
+ run: |
29
+ yarn install --immutable
30
+ yarn lint
31
+ yarn build
32
+ yarn test
33
+ env:
34
+ CI: true
39
35
 
40
36
  publish-npm:
41
37
  needs: build
@@ -47,16 +43,15 @@ jobs:
47
43
  pull-requests: write
48
44
  runs-on: ubuntu-latest
49
45
  steps:
50
- - uses: actions/checkout@v1
51
- - uses: actions/setup-node@v3
46
+ - uses: actions/checkout@v6
47
+ - uses: actions/setup-node@v6
52
48
  with:
53
- node-version: 20
49
+ node-version: 22
54
50
  cache: yarn
55
51
  - run: yarn install --immutable
56
52
  - run: yarn build
57
53
  - name: Release
58
54
  env:
59
55
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60
- NPM_TOKEN: ${{ secrets.SESAMECARE_OSS_NPM_TOKEN }}
61
- run: |
62
- yarn dlx semantic-release
56
+ NPM_CONFIG_PROVENANCE: 'true'
57
+ run: npx semantic-release