File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ name : ' Build & Deploy'
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ release :
9+ types :
10+ - published
11+
12+ permissions :
13+ contents : read
14+ id-token : write
15+
16+ concurrency :
17+ group : ${{ github.ref_name }}-${{ github.workflow }}
18+ cancel-in-progress : true
19+
20+ jobs :
21+ deploy_beta :
22+ name : Deploy to NPM (beta)
23+ if : github.event_name == 'push'
24+ runs-on : ubuntu-latest
25+ environment :
26+ name : release
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : actions/setup-node@v4
30+ with :
31+ node-version : ' 24.x'
32+ registry-url : ' https://registry.npmjs.org'
33+ scope : nvuillam
34+ - run : npm ci
35+ - run : |
36+ git config --global user.name nvuillam
37+ git config --global user.email nicolas.vuillamy@gmail.com
38+ - name : Bump beta prerelease version
39+ run : |
40+ BETAID=$(date '+%Y%m%d%H%M')
41+ npm version prerelease --preid="beta${BETAID}"
42+ shell : bash
43+ - name : Publish beta package
44+ run : npm publish --tag beta --provenance
45+
46+ deploy_release :
47+ name : Deploy to NPM (release)
48+ if : github.event_name == 'release' && github.event.action == 'created'
49+ runs-on : ubuntu-latest
50+ environment :
51+ name : release
52+ steps :
53+ - uses : actions/checkout@v4
54+ - uses : actions/setup-node@v4
55+ with :
56+ node-version : ' 24.x'
57+ registry-url : ' https://registry.npmjs.org'
58+ scope : nvuillam
59+ - run : npm ci
60+ - run : |
61+ git config --global user.name nvuillam
62+ git config --global user.email nicolas.vuillamy@gmail.com
63+ - name : Publish release package
64+ run : npm publish --provenance
Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ## [ 4.3.2] 2025-01-24
6+
7+ - Upgrade dependencies
8+ - Refactor workflows to use OIDC (npm Trusted Publishers) to publish package
9+
510## [ 4.3.1] 2025-12-04
611
712- Upgrade njre dependency
You can’t perform that action at this time.
0 commit comments