-
Notifications
You must be signed in to change notification settings - Fork 136
52 lines (50 loc) · 1.4 KB
/
pkg-pr-new-publish.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# https://github.com/stackblitz-labs/pkg.pr.new
#
name: Continuous releases on pkg-pr-new
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
pkg-pr-new-o1js:
strategy:
matrix:
node: [20]
runs-on: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Build o1js
run: |
git submodule update --init --recursive
npm ci
npm run build
- name: Publish o1js on pkg-pr-new
run: npx pkg-pr-new publish # Enable `--compact` once published to NPM with `repository` in package.json
pkg-pr-new-mina-signer:
strategy:
matrix:
node: [20]
runs-on: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Build mina-signer
run: |
git submodule update --init --recursive
npm ci
cd src/mina-signer
npm ci
npm run prepublishOnly
- name: Publish mina-signer on pkg-pr-new
run: npx pkg-pr-new publish # Enable `--compact` once published to NPM with `repository` in package.json