-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathaction.yml
More file actions
51 lines (43 loc) · 1.55 KB
/
Copy pathaction.yml
File metadata and controls
51 lines (43 loc) · 1.55 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
47
48
49
50
51
name: Build Zephyr Repack Plugin
description: Sets up the "zephyr-packages" dependencies and builds Zephyr Repack Plugin locally
runs:
using: "composite"
steps:
- name: Add "zephyr-packages" repo as submodule
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
run: |
REPO_URL="https://${GITHUB_TOKEN}@github.com/ZephyrCloudIO/zephyr-packages.git"
git submodule add -b master $REPO_URL submodules/zephyr-packages
git submodule update --init --recursive
shell: bash
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
name: Install Node.js
with:
node-version-file: '.node-version'
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install "zephyr-packages" dependencies
working-directory: submodules/zephyr-packages
run: pnpm i
shell: bash
- name: Build Zephyr Repack Plugin
working-directory: submodules/zephyr-packages/libs/zephyr-repack-plugin
run: pnpm build
shell: bash
- name: Update Zephyr Repack Plugin version
run: |
chmod +x ./.github/scripts/update-zephyr-repack-plugin-version.sh
./.github/scripts/update-zephyr-repack-plugin-version.sh
cat ./packages/mobile-sdk/lib/devDependencies.json
shell: bash
- name: Align Dependencies
run: |
pnpm align-deps
cat ./apps/mobile-host/package.json
pnpm i --no-frozen-lockfile
shell: bash