We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 271a724 commit d431f91Copy full SHA for d431f91
5 files changed
.github/workflows/main.yml
@@ -0,0 +1,37 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v2
18
19
+ - name: Set up Node.js
20
+ uses: actions/setup-node@v2
21
+ with:
22
+ node-version: '20'
23
+ - name: Clean cache
24
+ run: npm cache clean --force
25
26
+ - name: Install Dependencies
27
+ run: npm ci
28
29
+ - name: Build
30
+ run: npm run build
31
32
+ - name: Deploy
33
+ env:
34
+ DT_APP_OAUTH_CLIENT_ID: ${{ secrets.CLIENT_ID }}
35
+ DT_APP_OAUTH_CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
36
+ PLAYGROUND_APP_ID: my.tutorial.github.test
37
+ run: npm run deploy
.npmrc
0 commit comments