Skip to content

chore: add bun test

chore: add bun test #3

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- uses: pnpm/action-setup@v2
name: Install pnpm
- run: |
wget -P ${{ runner.temp }} https://github.com/tinygo-org/tinygo/releases/download/v0.28.1/tinygo_0.28.1_amd64.deb
yes | sudo dpkg -i ${{ runner.temp }}/tinygo_0.28.1_amd64.deb
- run: npm run build
- run: pnpm run /^test:/
- name: Package
run: npm pack
- name: Upload
uses: actions/upload-artifact@v3
with:
path: |
wasm-fmt-*.tgz