Skip to content

Commit

Permalink
docs: Update docs deployment workflow actions (#382)
Browse files Browse the repository at this point in the history
Because GitHub has updated the default node version
and our deployment workflow fails

this commit will:
- update the workflow with the latest version of actions
- set the node version used to latest long term support version

**Certification**
- [X] I certify that <!-- Check the box to certify: [X] -->
- I have read the [contributing guidelines](
  https://github.com/nodepa/seedling/blob/main/.github/CONTRIBUTING.md)
- I license these contributions to the public under Seedling's
  [LICENSE](https://github.com/nodepa/seedling/blob/main/LICENSE.md)
  and have the rights to do so.

Signed-off-by: toshify <4579559+toshify@users.noreply.github.com>
  • Loading branch information
toshify committed Sep 7, 2023
1 parent 2c57547 commit 60104b8
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 345 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:

steps:
- name: Fetch repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# fetch all commits to get last updated time or other git log info
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
# choose node.js version to use
node-version: '14'
node-version: 'lts/*'

# cache node_modules
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
id: npm-cache
with:
path: ~/.npm
Expand Down
Loading

0 comments on commit 60104b8

Please sign in to comment.