Skip to content

Commit

Permalink
fix(ui): ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-segning committed Jul 24, 2024
1 parent 1c70d55 commit 8748240
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/frontend-docs-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
generate-docs:
Expand All @@ -16,13 +13,13 @@ jobs:
uses: actions/checkout@v4

- name: Use Node.js 22.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
cache: 'yarn'

- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile --silent

- name: Generate docs in markdown
run: yarn run typedoc
Expand All @@ -31,7 +28,7 @@ jobs:
run: yarn run convert-md-to-pdf

- name: Upload PDF artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: documentations
path: ./docs/**/*.pdf
21 changes: 11 additions & 10 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@ on:
branches:
- '*'

pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Node.js 22.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- run: yarn install --frozen-lockfile
- run: yarn stylelint:actions
- run: yarn build
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile --silent

- name: Build
run: yarn build

0 comments on commit 8748240

Please sign in to comment.