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
+30-6Lines changed: 30 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,41 @@ permissions:
16
16
17
17
jobs:
18
18
build:
19
+
name: Code standards & build
19
20
runs-on: ubuntu-latest
21
+
timeout-minutes: 3
22
+
23
+
strategy:
24
+
matrix:
25
+
node-version: [20]
26
+
20
27
steps:
21
-
- name: Checkout your repository using git
28
+
- name: "☁️ Checkout repository"
22
29
uses: actions/checkout@v4
23
-
- name: Install, build, and upload your site
24
-
uses: withastro/action@v3
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
25
38
with:
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