update Zig and ZLS to latest patch version #30
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - uses: mlugg/setup-zig@v2 | |
| - name: Install binaryen | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install binaryen | |
| - run: | | |
| zig build -Drelease -Dwasm-opt | |
| npm ci | |
| npm run build | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: "dist/" | |
| - uses: actions/deploy-pages@v4 | |
| if: github.ref == 'refs/heads/main' |