Skip to content

Commit

Permalink
Trying to fix action/workflow build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclodex committed Oct 14, 2024
1 parent 556745c commit d008f65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: Node.js CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -31,5 +30,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y powershell
- run: npm ci
- run: npm run build --if-present
- name: Build
shell: pwsh
run: |
.\Build.ps1
# - run: npm run build --if-present
- run: npm test --if-present
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"build:devRelease:sidePanelOnly": "npm run build:devRelease -- -IgnoreExtension",
"build:devRelease:extensionOnly": "npm run build:devRelease -- -IgnoreSidePanel",
"build:project": "powershell -File Build.ps1",
"build": "npm run build:newExtensionRelease",
"build:newExtensionRelease": "npm run build:project -- -createPackage",
"build:cleanup": "powershell \"Remove-Item -Path dist -Recurse -Force; Remove-Item -Path unpacked -Recurse -Force;\"",
"version:patch": "npm --no-git-tag-version version patch",
Expand Down

0 comments on commit d008f65

Please sign in to comment.