We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2865d56 commit 0a7db4cCopy full SHA for 0a7db4c
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,33 @@
1
+name : This My first Next js build
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name : Checkout Repository
13
+ uses : actions/checkout@v4.2.2
14
15
+ - name : Setup Node Js
16
+ uses : actions/setup-node@v4.2.0
17
+ with:
18
+ node-version: 22.x
19
+ cache: 'npm'
20
+ - name : Install dependencies
21
+ run : npm install
22
23
+ - name : Build Next js App
24
+ run : npm run build
25
26
+ - name: Upload build on artifacts
27
+ uses: actions/upload-artifact@v4.6.0
28
29
+ name: nextjs-build
30
+ path: out/
31
32
33
0 commit comments