-
Notifications
You must be signed in to change notification settings - Fork 80
46 lines (37 loc) · 1.11 KB
/
Copy pathrsbuild-mf-live-fixture.yml
File metadata and controls
46 lines (37 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Rsbuild Module Federation live fixture
on:
workflow_dispatch:
schedule:
- cron: '17 9 * * 1'
permissions:
contents: read
concurrency:
group: rsbuild-mf-live-fixture
cancel-in-progress: false
jobs:
publish:
if: github.repository == 'ZephyrCloudIO/zephyr-examples'
runs-on: depot-ubuntu-latest
timeout-minutes: 30
environment: rsbuild-mf-live-fixture
env:
ZE_SECRET_TOKEN: ${{ secrets.ZEPHYR_AUTH_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24
- uses: pnpm/action-setup@v4
with:
version: 10.33.0
run_install: false
- name: Require the protected Zephyr credential
run: test -n "$ZE_SECRET_TOKEN"
- name: Install pinned example dependencies
working-directory: module-federation/react-rsbuild-monorepo
run: pnpm install --frozen-lockfile
- name: Publish remotes before host
working-directory: module-federation/react-rsbuild-monorepo
run: pnpm build