Skip to content

Commit

Permalink
test: windows
Browse files Browse the repository at this point in the history
  • Loading branch information
charislam committed Dec 10, 2024
1 parent 4faabe6 commit 715b81c
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,26 +329,18 @@ jobs:
}
"@
$json | Out-File -FilePath package.json -Encoding utf8
- name: Unpack binary tarball
shell: pwsh
run: |
$tarballPath = Get-ChildItem -Path npm-binary-distributions\win32-x64\*.tgz | Select-Object -First 1
tar -xzf $tarballPath.FullName -C npm-binary-distributions\win32-x64
Get-ChildItem -Path npm-binary-distributions\win32-x64\package
- name: Install binary
shell: pwsh
run: |
cd test
npm install ..\npm-binary-distributions\win32-x64\package
- name: Unpack node-pkg tarball
$tarballPath = Get-ChildItem -Path ..\npm-binary-distributions\win32-x64\*.tgz | Select-Object -First 1
npm install $tarballPath
- name: Install node package
shell: pwsh
run: |
$tarballPath = Get-ChildItem -Path node-pkg\*.tgz | Select-Object -First 1
mkdir -Path "test\node_modules\supa-mdx-lint-node-pkg" -Force
tar -xzf $tarballPath.FullName -C test\node_modules\supa-mdx-lint-node-pkg
- name: Install main package
run: |
cd test
npm install node_modules\supa-mdx-lint-node-pkg\package
$tarballPath = Get-ChildItem -Path ..\node-pkg\*.tgz | Select-Object -First 1
npm install $tarballPath
- name: Test lint script
working-directory: test
run: |
Expand Down

0 comments on commit 715b81c

Please sign in to comment.