Skip to content

Commit

Permalink
ci: update create-generated-sources.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jan 6, 2024
1 parent 97ece32 commit dbf38fd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/create-generated-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install pipx
uses: CfirTsabari/actions-pipx@v1

- name: Clone flatpak-builder-tools repo and flatpak-node-generator
- name: Install flatpak-node-generator
run: |
cd ../
git clone https://github.com/flatpak/flatpak-builder-tools.git
Expand All @@ -31,12 +31,15 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18


# - name: Delete old package-lock.json
# run: rm package-lock.json

- name: Install dependencies
run: npm i --lockfile-version 2 #--package-lock-only
run: npm i --lockfile-version 2

- name: Generate generated-sources.json
run: flatpak-node-generator npm -r package-lock.json
run: flatpak-node-generator npm -r package-lock.json --electron-node-headers

- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit dbf38fd

Please sign in to comment.