Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
update project
Browse files Browse the repository at this point in the history
  • Loading branch information
sunziping2016 committed Jul 29, 2021
1 parent 8cab2ea commit 2745940
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 57 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/node.js-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,30 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [14.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Check out Hyas project
uses: actions/checkout@v2

- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
hugo-version: 'latest'
extended: true

- name: Check install Hugo
run: hugo version

- name: Install dependencies
run: npm ci

- name: Check for linting errors
run: npm test

- name: Delete temporary directories
run: npm run clean

- name: Build production website
run: npm run build

Expand Down
Loading

0 comments on commit 2745940

Please sign in to comment.