Skip to content

Commit db768e1

Browse files
updated for testing
1 parent 167fcfe commit db768e1

1 file changed

Lines changed: 19 additions & 8 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
name: Publish to npm
22

3-
on:
4-
push:
5-
tags:
6-
- "*.*.*"
7-
workflow_dispatch:
3+
on: [push]
4+
# push:
5+
# tags:
6+
# - "*.*.*"
7+
# workflow_dispatch:
88

99
jobs:
1010
publish:
1111
name: Build and Publish to npmjs.com
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Checkout code (recursive submodules)
15+
- name: Checkout code
1616
uses: actions/checkout@v4
17-
with:
18-
submodules: recursive
17+
18+
- name: Initialize LiaScript submodule
19+
run: git submodule update --init LiaScript
1920

2021
- name: Setup Node.js
2122
uses: actions/setup-node@v4
@@ -26,6 +27,16 @@ jobs:
2627
- name: Install dependencies
2728
run: npm ci
2829

30+
- name: Set ELM_HOME
31+
run: echo "ELM_HOME=${GITHUB_WORKSPACE}/.elm" >> $GITHUB_ENV
32+
33+
- name: Load additional branches
34+
run: |
35+
cd LiaScript
36+
git fetch origin feat/fullPage:refs/heads/feat/fullPage feat/capacitor8:refs/heads/feat/capacitor8
37+
npm install
38+
npm run prebuild
39+
2940
- name: Build everything
3041
run: npm run build:all
3142

0 commit comments

Comments
 (0)