File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Run Tests
2+ permissions :
3+ # Needed for OIDC Trusted Publishing
4+ id-token : write
5+ # Needed for semantic-release
6+ contents : write
7+ pull-requests : write
8+ issues : write
29
310on :
411 push :
7178 release :
7279 if : github.repository_owner == 'BitGo' && github.event_name == 'push' && github.ref_name == 'master'
7380 runs-on : ubuntu-latest
81+ environment : publish-bip174
7482 needs :
7583 - audit
7684 - unit
@@ -82,10 +90,12 @@ jobs:
8290 - uses : actions/checkout@v3
8391 - uses : actions/setup-node@v3
8492 with :
85- node-version : 14
93+ node-version : 22
8694 cache : ' npm'
95+ - name : Ensure npm 11.5.1
96+ run : |
97+ npm install -g npm@11.5.1
8798 - run : npm ci
8899 - run : ./node_modules/.bin/semantic-release
89100 env :
90- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
91101 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments