File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches : [main, develop]
77 workflow_dispatch :
8+
9+ permissions :
10+ id-token : write # Required for OIDC
11+ contents : read
12+
813jobs :
914 lint :
1015 name : Lint
7681 - name : Setup Node.js environment
7782 uses : actions/setup-node@v4
7883 with :
79- node-version : 20
8084 cache : " yarn"
85+ node-version : " 22.14.0"
86+ registry-url : " https://registry.npmjs.org"
8187
8288 - name : Install dependencies
8389 run : yarn
8894 - name : Verify deployments work
8995 run : yarn hardhat deploy
9096
97+ - name : Prepare slim package
98+ run : bash .github/prepare_slim_package.sh
99+
100+ - run : cd slim
101+ - run : |
102+ PRE_RELEASE_TAG=$(jq -r '.version | if test("-") then capture("^[0-9]+\\.[0-9]+\\.[0-9]+-(?<tag>[a-zA-Z-]+)") | .tag else "" end' package.json)
103+ - run : |
104+ echo "$PRE_RELEASE_TAG"
105+ - run : npm publish --provenance --access public --tag $PRE_RELEASE_TAG
106+
107+ # - name: Publish slim package
108+ # run: bash .github/publish_slim_package.sh
109+
91110 export-deployments :
92111 runs-on : ubuntu-latest
93112 permissions :
You can’t perform that action at this time.
0 commit comments