-
Notifications
You must be signed in to change notification settings - Fork 19
34 lines (30 loc) · 1021 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on: push
jobs:
build:
name: Attempt Build
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Install Node & NPM"
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.79.0
- name: "Install wasm-pack"
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install jq
uses: dcarbone/[email protected]
- name: "Install NPM dependencies"
run: npm install
- name: "Build & Bundle"
run: npm run build