-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 939 Bytes
/
Copy pathbuild-package.yaml
File metadata and controls
45 lines (36 loc) · 939 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
# Ensures package builds correctly
name: Build Package
on:
push:
jobs:
build:
name: Build Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: pnpm/action-setup@v4
name: Install pnpm
- name: Setup NodeJS
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: pnpm
- name: Update npm
run: |
npm install -g npm@latest
npm --version
- name: Install dependencies
run: pnpm install
- name: Install sha3sum
run: |
sudo apt-get update
sudo apt-get install -y libdigest-sha3-perl
- name: Setup Emscripten
uses: mymindstorm/setup-emsdk@v14
with:
version: "latest"
actions-cache-folder: "emsdk-cache"
- name: Build
run: pnpm build