Skip to content

Commit 0229f6a

Browse files
committed
Update doc - 2026 + node.js versions
1 parent 64c1b77 commit 0229f6a

1 file changed

Lines changed: 50 additions & 50 deletions

File tree

.github/workflows/main.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,58 +5,58 @@ name: CI
55
# Controls when the action will run. Triggers the workflow on push or pull request
66
# events but only for the master branch
77
on:
8-
push:
9-
branches: [ develop ]
10-
pull_request:
11-
branches: [ develop ]
8+
push:
9+
branches: [develop]
10+
pull_request:
11+
branches: [develop]
1212

1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:
15-
# This workflow contains a single job called "build"
16-
build:
17-
# The type of runner that the job will run on
18-
runs-on: ubuntu-latest
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
1919

20-
# Steps represent a sequence of tasks that will be executed as part of the job
21-
steps:
22-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23-
- uses: actions/checkout@v2
24-
25-
- name: Cache node modules
26-
uses: actions/cache@v1
27-
with:
28-
path: node_modules
29-
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
30-
restore-keys: |
31-
${{ runner.OS }}-build-${{ env.cache-name }}-
32-
${{ runner.OS }}-build-
33-
${{ runner.OS }}-
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- uses: actions/checkout@v6
3424

35-
- name: Install Dependencies
36-
run: npm ci
37-
- name: Build doc
38-
run: npm run build
39-
- name: Archive www Artifact
40-
uses: actions/upload-artifact@master
41-
with:
42-
name: documentation
43-
path: documentation
44-
deploy:
45-
name : Deploy 🚀
46-
needs: [build]
47-
runs-on: ubuntu-latest
48-
steps:
49-
- name: Checkout Repo
50-
uses: actions/checkout@master
51-
- name: Download Artifact
52-
uses: actions/download-artifact@master
53-
with:
54-
name: documentation
55-
path: documentation
56-
- name: Deploy to github pages
57-
uses: JamesIves/github-pages-deploy-action@3.6.2
58-
with:
59-
GITHUB_TOKEN: ${{ secrets.COMPODOC_GITHUB_PAGES_TOKEN }}
60-
BRANCH: gh-pages # The branch the action should deploy to.
61-
FOLDER: documentation # The folder the action should deploy.
62-
CLEAN: true # Automatically remove deleted files from the deploy branch
25+
- name: Cache node modules
26+
uses: actions/cache@v5
27+
with:
28+
path: node_modules
29+
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
30+
restore-keys: |
31+
${{ runner.OS }}-build-${{ env.cache-name }}-
32+
${{ runner.OS }}-build-
33+
${{ runner.OS }}-
34+
35+
- name: Install Dependencies
36+
run: npm ci
37+
- name: Build doc
38+
run: npm run build
39+
- name: Archive www Artifact
40+
uses: actions/upload-artifact@v3
41+
with:
42+
name: documentation
43+
path: documentation
44+
deploy:
45+
name: Deploy 🚀
46+
needs: [build]
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout Repo
50+
uses: actions/checkout@v6
51+
- name: Download Artifact
52+
uses: actions/download-artifact@v8
53+
with:
54+
name: documentation
55+
path: documentation
56+
- name: Deploy to github pages
57+
uses: JamesIves/github-pages-deploy-action@3.6.2
58+
with:
59+
GITHUB_TOKEN: ${{ secrets.COMPODOC_GITHUB_PAGES_TOKEN }}
60+
BRANCH: gh-pages # The branch the action should deploy to.
61+
FOLDER: documentation # The folder the action should deploy.
62+
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)