We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2054e8c commit 96b7551Copy full SHA for 96b7551
1 file changed
.github/workflows/deploy.yaml
@@ -0,0 +1,30 @@
1
+name: Deploy
2
+
3
+on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ deploy:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: '18'
21
+ cache: 'npm'
22
23
+ - name: Install dependencies
24
+ run: npm install
25
26
+ - name: Build project
27
+ run: npm run build
28
29
+ - name: Log deployment success
30
+ run: echo "Deployment successful"
0 commit comments