Skip to content

Commit f736ac5

Browse files
committed
set pnpm version in package.json to make github CI work
1 parent a9edf91 commit f736ac5

File tree

5 files changed

+252
-44
lines changed

5 files changed

+252
-44
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch’s name
64
push:
75
branches: [ main ]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
96
workflow_dispatch:
107

11-
# Allow this job to clone the repo and create a page deployment
128
permissions:
139
contents: read
1410
pages: write
@@ -21,13 +17,7 @@ jobs:
2117
- name: Checkout your repository using git
2218
uses: actions/checkout@v4
2319
- name: Install, build, and upload your site
24-
uses: withastro/action@v3
25-
# 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)
29-
# env:
30-
# PUBLIC_POKEAPI: 'https://pokeapi.co/api/v2' # Use single quotation marks for the variable value. (optional)
20+
uses: withastro/action@v4
3121

3222
deploy:
3323
needs: build

.vscode/settings.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineConfig(
1111
locales: ["en"],
1212
},
1313

14-
site: "https://c3-lang.org",
14+
site: "https://waveproc.github.io/c3-web",
1515

1616
redirects: {
1717
'/docs': '/getting-started',

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"astro": "5.13.4",
1616
"astro-expressive-code": "0.41.3",
1717
"boxicons": "^2.1.4",
18+
"sharp": "^0.34.3",
1819
"tailwindcss": "4.1.12"
19-
}
20-
}
20+
},
21+
"packageManager": "[email protected]"
22+
}

0 commit comments

Comments
 (0)