Skip to content

Commit bfaba9c

Browse files
committed
Update CI
1 parent 073f228 commit bfaba9c

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main, master ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main, master ]
7+
branches: [main]
88

99
jobs:
1010
deploy:
@@ -19,29 +19,30 @@ jobs:
1919
url: ${{ steps.deployment.outputs.page_url }}
2020

2121
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v4
22+
- name: Checkout
23+
uses: actions/checkout@v4
2424

25-
- name: Setup Node.js
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: '18'
29-
cache: 'pnpm'
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: "18"
3029

31-
- name: Install pnpm
32-
run: npm install -g pnpm
30+
- name: Setup pnpm
31+
uses: pnpm/action-setup@v4
32+
with:
33+
version: 10
3334

34-
- name: Install dependencies
35-
run: pnpm install
35+
- name: Install dependencies
36+
run: pnpm install
3637

37-
- name: Build
38-
run: pnpm run build
38+
- name: Build
39+
run: pnpm run build
3940

40-
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@v3
42-
with:
43-
path: ./out
41+
- name: Upload artifact
42+
uses: actions/upload-pages-artifact@v3
43+
with:
44+
path: ./out
4445

45-
- name: Deploy to GitHub Pages
46-
id: deployment
47-
uses: actions/deploy-pages@v4
46+
- name: Deploy to GitHub Pages
47+
id: deployment
48+
uses: actions/deploy-pages@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "next-app-template",
2+
"name": "spinfi-landing",
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {

0 commit comments

Comments
 (0)