You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+6-30Lines changed: 6 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -16,41 +16,17 @@ permissions:
16
16
17
17
jobs:
18
18
build:
19
-
name: Code standards & build
20
19
runs-on: ubuntu-latest
21
-
timeout-minutes: 3
22
-
23
-
strategy:
24
-
matrix:
25
-
node-version: [20]
26
-
27
20
steps:
28
-
- name: "☁️ Checkout repository"
21
+
- name: Checkout your repository using git
29
22
uses: actions/checkout@v4
30
-
31
-
- name: "📦 Install pnpm"
32
-
uses: pnpm/action-setup@v4
33
-
with:
34
-
version: 10.11.1
35
-
36
-
- name: Use Node.js ${{ matrix.node-version }}
37
-
uses: actions/setup-node@v4
23
+
- name: Install, build, and upload your site
24
+
uses: withastro/action@v3
38
25
with:
39
-
node-version: ${{ matrix.node-version }}
40
-
cache: "pnpm"
41
-
42
-
- name: "📦 Install dependencies"
43
-
run: pnpm install
44
-
45
-
- name: "🔎 Lint code"
46
-
run: pnpm run lint
47
-
48
-
- name: "📝 Checking code format"
49
-
run: pnpm run format:check
26
+
path: . # The root location of your Astro project inside the repository. (optional)
27
+
node-version: 20# The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28
+
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
0 commit comments