Skip to content

Commit

Permalink
Add CI build action
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed May 16, 2024
1 parent 9d9f70b commit ab11a27
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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
- 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

0 comments on commit ab11a27

Please sign in to comment.