We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba79ccf commit a654edaCopy full SHA for a654eda
.github/workflows/publish.yaml
@@ -0,0 +1,39 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: ["main", "publish-via-ci"]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v3
14
15
+ - uses: pnpm/action-setup@v4
16
+ name: Install pnpm
17
+ with:
18
+ run_install: false
19
20
+ - name: Install Node.js
21
+ uses: actions/setup-node@v4
22
23
+ node-version: 20
24
+ cache: 'pnpm'
25
26
+ - name: Install dependencies
27
+ run: pnpm install
28
29
+ - name: Build
30
+ run: pnpm run build
31
32
+ - name: Setup Wasmer
33
+ uses: wasmerio/setup-wasmer@v2
34
35
+ - name: Deploy app
36
+ run: wasmer deploy --registry wasmer.io
37
+ env:
38
+ WASMER_TOKEN: ${{ secrets.WASMER_CIUSER_PROD_TOKEN }}
39
0 commit comments