Skip to content

Commit aa1eaab

Browse files
ci: temp
1 parent eb2a8b9 commit aa1eaab

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
pull_request:
66
branches: [main, develop]
77
workflow_dispatch:
8+
9+
permissions:
10+
id-token: write # Required for OIDC
11+
contents: read
12+
813
jobs:
914
lint:
1015
name: Lint
@@ -76,8 +81,9 @@ jobs:
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
@@ -88,6 +94,19 @@ jobs:
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:

0 commit comments

Comments
 (0)