Skip to content

Commit 87ebbdf

Browse files
authored
Merge pull request #121 from yoriiis/update-install-demo
Use symlink package
2 parents a6f3847 + 83e0c89 commit 87ebbdf

3 files changed

Lines changed: 38 additions & 38 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,13 @@ on:
1010
- main
1111

1212
jobs:
13-
build-root:
13+
build:
1414
strategy:
1515
matrix:
1616
node-version: [22, 24]
1717
os: [ubuntu-latest, macos-latest]
18-
uses: yoriiis/actions/.github/workflows/test-and-build.yml@main
18+
uses: yoriiis/actions/.github/workflows/test-and-build-root-demo.yml@main
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121
os: ${{ matrix.os }}
22-
upload-artifact: true
23-
artifact-name: build-artifact-${{ matrix.os }}-${{ matrix.node-version }}
24-
25-
build-example:
26-
needs: build-root
27-
strategy:
28-
matrix:
29-
node-version: [22, 24]
30-
os: [ubuntu-latest, macos-latest]
31-
uses: yoriiis/actions/.github/workflows/test-and-build.yml@main
32-
with:
33-
node-version: ${{ matrix.node-version }}
34-
os: ${{ matrix.os }}
35-
working-directory: ./example
36-
download-artifact: true
37-
artifact-name: build-artifact-${{ matrix.os }}-${{ matrix.node-version }}
38-
command-install: npm ci --install-links
39-
command-test: npm run build && npm run test
22+
working-directory-demo: ./example

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
working-directory: ./example
3131
download-artifact: true
3232
artifact-name: build-artifact-${{ matrix.os }}-${{ matrix.node-version }}
33-
command-install: npm ci --install-links
3433
command-test: npm run build && npm run test
3534

3635
lint:

example/package-lock.json

Lines changed: 35 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)