Skip to content

fix(ci): add deno env #5

fix(ci): add deno env

fix(ci): add deno env #5

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
name: Install Node
with:
node-version-file: ".node-version"
- uses: pnpm/action-setup@v2
name: Install pnpm
- uses: denoland/setup-deno@v1
name: Install Deno
with:
deno-version: v1.x
- uses: oven-sh/setup-bun@v1
name: Install bun
- 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