Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
carsoli committed Dec 5, 2023
1 parent d622708 commit c1350c5
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 13 deletions.
35 changes: 25 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Setup NODE
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- if: matrix.node-version >= '17'
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
path: |
Expand All @@ -26,9 +29,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Setup NODE
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- if: matrix.node-version >= '17'
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
path: |
Expand All @@ -46,9 +52,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Setup NODE
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- if: matrix.node-version >= '17'
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
path: |
Expand All @@ -62,9 +71,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Setup NODE
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- if: matrix.node-version >= '17'
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
path: |
Expand All @@ -78,9 +90,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Setup NODE
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- if: matrix.node-version >= '17'
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
path: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Setup NODE
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- if: matrix.node-version >= '17'
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
path: |
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,16 @@ yarn run check:stylelint
yarn run test
```

### Documentation Deployment & CI

CI jobs config scripts can be found under .github/workflows

Every PR is hosted on [Render](https://render.com) with a link on the pull request conversation. Docs from `master` are additionally hosted on [GitHub Pages](https://pages.github.com/).

node-version: Currently we specifically target LTS v18 as the used node-version

> `.nvmrc` is essential to override the node-version used by Render
### Publishing

#### Kotti
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"private": true,
"repository": "[email protected]:3YOURMIND/kotti",
"scripts": {
"build:render.com": "yarn run watch:build-kotti-dependencies && yarn workspace @3yourmind/kotti-ui run build && yarn workspace @3yourmind/documentation run nuxt generate",
"build:render.com": "export NODE_OPTIONS=--openssl-legacy-provider; yarn run watch:build-kotti-dependencies && yarn workspace @3yourmind/kotti-ui run build && yarn workspace @3yourmind/documentation run nuxt generate",
"check": "yarn run check:stylelint && yarn run check:eslint && yarn run check:prettier",
"check:eslint": "eslint --max-warnings=0 --ignore-path .gitignore '**/*.{js,jsx,json,ts,tsx,vue}'",
"check:prettier": "prettier --check --ignore-path .gitignore .",
Expand Down
1 change: 1 addition & 0 deletions packages/documentation/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const config = {
},
},
extend(config) {
config.output.hashFunction = 'sha256'
config.plugins.push(new CaseSensitivePathsPlugin())
},
},
Expand Down

0 comments on commit c1350c5

Please sign in to comment.