Use node rather than deno
This commit is contained in:
parent
0f54b36d51
commit
3ee2486d1e
1 changed files with 5 additions and 4 deletions
9
.github/workflows/astro.yml
vendored
9
.github/workflows/astro.yml
vendored
|
@ -21,15 +21,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
deno-version: v2.1.5
|
||||
node-version: "20"
|
||||
|
||||
- name: Install dependencies
|
||||
run: deno i
|
||||
run: npm i
|
||||
|
||||
- name: Build with Astro
|
||||
run: deno run astro build
|
||||
run: npm run astro build
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue