@@ -20,10 +20,10 @@ jobs:
2020
2121 steps :
2222 - name : 📥 Checkout
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v5
2424
2525 - name : 🟢 Setup Node.js ${{ matrix.node-version }}
26- uses : actions/setup-node@v4
26+ uses : actions/setup-node@v6
2727 with :
2828 node-version : ${{ matrix.node-version }}
2929 cache : ' npm'
@@ -66,10 +66,10 @@ jobs:
6666
6767 steps :
6868 - name : 📥 Checkout
69- uses : actions/checkout@v4
69+ uses : actions/checkout@v5
7070
7171 - name : 🟢 Setup Node.js ${{ matrix.node-version }}
72- uses : actions/setup-node@v4
72+ uses : actions/setup-node@v6
7373 with :
7474 node-version : ${{ matrix.node-version }}
7575 cache : ' npm'
@@ -97,13 +97,18 @@ jobs:
9797 name : 🚀 Release
9898 needs : [build, e2e]
9999 runs-on : ubuntu-latest
100+ permissions :
101+ contents : write # to be able to publish a GitHub release
102+ id-token : write # to enable use of OIDC for npm provenance
103+ issues : write # to be able to comment on released issues
104+ pull-requests : write # to be able to comment on released pull requests
100105 if :
101106 ${{ github.repository == 'kentcdodds/cross-env' &&
102107 contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
103108 github.ref) && github.event_name == 'push' }}
104109 steps :
105110 - name : ⬇️ Checkout repo
106- uses : actions/checkout@v4
111+ uses : actions/checkout@v5
107112
108113 - name : 🔄 Restore build output
109114 uses : actions/cache/restore@v4
@@ -114,9 +119,9 @@ jobs:
114119 fail-on-cache-miss : false
115120
116121 - name : 🚀 Release
117- uses : cycjimmy/semantic-release-action@v4
122+ uses : cycjimmy/semantic-release-action@v5.0.2
118123 with :
119- semantic_version : 24
124+ semantic_version : 25
120125 branches : |
121126 [
122127 '+([0-9])?(.{+([0-9]),x}).x',
@@ -128,4 +133,3 @@ jobs:
128133 ]
129134 env :
130135 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
131- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
0 commit comments