Commit 2b4ffb9 1 parent be3f64f commit 2b4ffb9 Copy full SHA for 2b4ffb9
File tree 3 files changed +52
-105
lines changed
3 files changed +52
-105
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ id-token : write
10
+ contents : write
11
+
12
+ env :
13
+ TURBO_TELEMETRY_DISABLED : 1
14
+
15
+ jobs :
16
+ cache-and-install :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Setup turborepo cache
23
+ uses : dtinth/setup-github-actions-caching-for-turbo@v1
24
+
25
+ - name : Install pnpm
26
+ uses : pnpm/action-setup@v3
27
+ with :
28
+ version : 8
29
+
30
+ - name : Install Node.js
31
+ uses : actions/setup-node@v4
32
+ with :
33
+ node-version : 20
34
+ cache : " pnpm"
35
+
36
+ - name : Install dependencies
37
+ run : pnpm install
38
+
39
+ - name : Build apps and packages
40
+ run : pnpm build
41
+
42
+ - name : Deploy to GitHub Pages
43
+ uses : JamesIves/github-pages-deploy-action@v4.5.0
44
+ with :
45
+ branch : gh-pages
46
+ folder : apps/playground/dist
47
+
48
+ - name : Publish packages to NPM
49
+ shell : bash
50
+ run : |
51
+ echo "//registry.npmjs.org/:_authToken="${{ secrets.NPM_TOKEN }}"" > ~/.npmrc
52
+ pnpm -r --filter='./apps/*' publish --access public --provenance
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments