Skip to content

Commit

Permalink
build: update node version on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bohoffi committed Oct 28, 2023
1 parent 7c42aba commit 5d8ae1e
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/MANUAL_github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "16"
cache: "npm"
- name: Install dependencies
run: npm i
- name: Build the docs
run: npm run docs
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
path: docs
- name: Checkout
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'

- name: Install dependencies
run: npm i

- name: Build the docs
run: npm run docs

- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
path: docs

deploy:
name: Deploys the artifact to Github Pages
Expand All @@ -40,9 +40,9 @@ jobs:

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v1
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v1
48 changes: 24 additions & 24 deletions .github/workflows/RELEASE_github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "16"
cache: "npm"
- name: Install dependencies
run: npm i
- name: Build the docs
run: npm run docs
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
path: docs
- name: Checkout
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'

- name: Install dependencies
run: npm i

- name: Build the docs
run: npm run docs

- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
path: docs

deploy:
name: Deploys the artifact to Github Pages
Expand All @@ -42,9 +42,9 @@ jobs:

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v1
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v1
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: PR-builder

on:
pull_request:
branches: [ develop ]
branches: [develop]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 5d8ae1e

Please sign in to comment.