Skip to content

chore: update github workflow #1

chore: update github workflow

chore: update github workflow #1

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"
- 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