1010# Read & write - access to actions and code
1111# 2. GH_USER_NAME - The name (not username) associated with the Git user. e.g. John Smith
1212# 3. GH_USER_EMAIL - The email associated with the Git user
13- # 4. NPM_TOKEN - A token for publishing to npm
14- # 5. DOCKERHUB_TOKEN - Docker Hub publishing token
13+ # 4. DOCKERHUB_TOKEN - Docker Hub publishing token
1514# #######################################################################################
1615name : Continuous Build
1716
4140 - name : Setup Node
4241 uses : actions/setup-node@v6
4342 with :
44- node-version : ' 24 '
43+ node-version : 24
4544 cache : ' pnpm'
4645 - name : Install Dependencies
4746 run : pnpm install --frozen-lockfile
6463 - name : Setup Node
6564 uses : actions/setup-node@v6
6665 with :
67- node-version : ' 24 '
66+ node-version : 24
6867 cache : ' pnpm'
6968 - name : Install dependencies
7069 run : pnpm install --frozen-lockfile
9998 needs : required-checks-passed
10099 # Only tag and release on pushes to main
101100 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
102- strategy :
103- matrix :
104- node-version : [20]
105101 permissions :
106102 id-token : write
107103 contents : write
@@ -115,7 +111,8 @@ jobs:
115111 - name : Setup Node
116112 uses : actions/setup-node@v6
117113 with :
118- node-version : ${{ matrix.node-version }}
114+ node-version : 24
115+ registry-url : ' https://registry.npmjs.org'
119116 cache : ' pnpm'
120117 - name : Configure Git credentials
121118 run : |
@@ -138,18 +135,10 @@ jobs:
138135 GH_ACCESS_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
139136 - name : Publish airnode-feed to npm
140137 if : ${{ steps.validate-tag.outputs.new-tag }}
141- run : |
142- npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
143- cd packages/airnode-feed && pnpm publish --access public
144- env :
145- NPM_CONFIG_PROVENANCE : true
138+ run : cd packages/airnode-feed && pnpm publish --access public
146139 - name : Publish signed-api to npm
147140 if : ${{ steps.validate-tag.outputs.new-tag }}
148- run : |
149- npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
150- cd packages/signed-api && pnpm publish --access public
151- env :
152- NPM_CONFIG_PROVENANCE : true
141+ run : cd packages/signed-api && pnpm publish --access public
153142 - name : Set up Docker Buildx
154143 if : ${{ steps.validate-tag.outputs.new-tag }}
155144 uses : docker/setup-buildx-action@v3
0 commit comments