feat(workflow) add Node.js and PostCSS setup tasks
All checks were successful
Build Hugo Site / build (push) Successful in 2m21s
All checks were successful
Build Hugo Site / build (push) Successful in 2m21s
This commit is contained in:
parent
30b8cb07a6
commit
5b377c839d
1 changed files with 10 additions and 0 deletions
|
|
@ -20,6 +20,16 @@ jobs:
|
|||
with:
|
||||
go-version: '1.20.5'
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install PostCSS
|
||||
run: |
|
||||
npm install -g postcss postcss-cli
|
||||
npm install autoprefixer
|
||||
|
||||
- name: Set up Hugo Extended
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue