fix: forgejo deploy - use NodeJS as container
Some checks failed
Deploy Blog / deploy (push) Failing after 1m4s
Some checks failed
Deploy Blog / deploy (push) Failing after 1m4s
This commit is contained in:
parent
00117f619d
commit
a8e2de3a3c
1 changed files with 1 additions and 5 deletions
|
@ -44,14 +44,10 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Node.js
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
|
||||||
sudo apt-get install -y nodejs
|
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build:posts
|
- run: npm run build:posts
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
Loading…
Add table
Reference in a new issue