Skip to content

Commit

Permalink
ci: try manually installing platform specific esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-cumplido committed Nov 7, 2024
1 parent a99666f commit 1380e03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci --cpu ${{ matrix.npm_config_arch }}
- run: npm ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
npm_config_arch: ${{ matrix.npm_config_arch }}
- shell: pwsh
run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $env:GITHUB_ENV
- run: rm -rf node_modules/@esbuild
- run: npm i @esbuild/${{ matrix.platform }}-${{ matrix.npm_config_arch }}
- run: npx vsce package --target ${{ env.target }}
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 1380e03

Please sign in to comment.