Add wabt installation step to GitHub Actions workflow and update buil… #8
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: build, test and release sqlite-wasm | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| btr: | |
| runs-on: ubuntu-22.04 | |
| name: build, test and release sqlite-wasm | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: setup playwright for tests | |
| run: npx playwright install --with-deps && npx playwright install msedge && npx playwright install chrome | |
| - name: install wabt | |
| run: sudo apt install wabt | |
| - name: build, test and release sqlite-wasm | |
| run: cd sqlite-wasm && npm i && npm run deploy | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |