Skip to content

Commit 66c0fbf

Browse files
committed
[workflow] Attempt at fixing publish-website
Explicitly setup WASM tools and PNPM dependencies before invoking publish_web.sh
1 parent 2192b2b commit 66c0fbf

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/publish-web.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,33 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- name: Setup WASM SDKs
16+
run: |
17+
scripts/install_wasm_tools.sh
18+
. scripts/activate_wasm_tools.sh
19+
20+
# Use the node version pinned by emsdk, and save an separate node
21+
# installation step.
22+
echo "$(dirname "$EMSDK_NODE")" >>$GITHUB_PATH
23+
shell: bash
24+
1525
- uses: pnpm/action-setup@v4
1626
with:
1727
version: 10
1828

29+
- name: Install PNPM dependencies
30+
run: |
31+
cd web
32+
pnpm install
33+
shell: bash
34+
1935
- name: Configure AWS OIDC
2036
uses: aws-actions/configure-aws-credentials@v4
2137
with:
2238
role-to-assume: arn:aws:iam::466456532355:role/github-coursepointer.app-s3-upload
2339
aws-region: us-east-1
2440
role-session-name: github-${{ github.run_id }}
2541

26-
- name: Upload to S3
42+
- name: Publish to S3
2743
run: |
2844
scripts/publish_web.sh

0 commit comments

Comments
 (0)