Skip to content

Commit

Permalink
Merge pull request #66 from marc0l92/develop
Browse files Browse the repository at this point in the history
Update dependencies and solve security vulnerabilities
  • Loading branch information
marc0l92 authored Jan 22, 2023
2 parents a50b3c1 + 57f9ae7 commit 2351c9a
Show file tree
Hide file tree
Showing 11 changed files with 8,606 additions and 29,698 deletions.
49 changes: 41 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and test
name: CI

on:
push:
Expand All @@ -9,31 +9,64 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"

- uses: pnpm/action-setup@v2
with:
version: latest
run_install: false

- name: Install dependencies
id: install
run: |
pnpm install --frozen-lockfile
- name: Build
id: build
run: |
pnpm run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
- uses: pnpm/action-setup@v2
with:
version: latest
run_install: false
- name: Install dependencies
id: install
run: |
pnpm install --frozen-lockfile
- name: Test
id: test
run: |
pnpm run test
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
- uses: pnpm/action-setup@v2
with:
version: latest
run_install: false
- name: Install dependencies
id: install
run: |
cd ./docs-gen
pnpm install --frozen-lockfile
- name: Build
id: build
run: |
cd ./docs-gen
pnpm run build
15 changes: 8 additions & 7 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@ jobs:
name: Deploy docs to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn

node-version: "lts/*"
- uses: pnpm/action-setup@v2
with:
version: latest
run_install: false
- name: Install dependencies
run: |
cd ./docs-gen
yarn install --frozen-lockfile
pnpm install --frozen-lockfile
- name: Build website
run: |
cd ./docs-gen
yarn run build
pnpm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/manual-create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
exit 1
fi
- name: Use Node.js
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"

Expand Down
6 changes: 0 additions & 6 deletions docs-gen/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ const config = {
position: 'left',
label: 'API',
},
{
type: 'doc',
docId: 'changelog/changelog',
position: 'left',
label: 'Changelog',
},
{
href: 'https://ko-fi.com/marc0l92',
label: 'Buy me a coffee',
Expand Down
Loading

0 comments on commit 2351c9a

Please sign in to comment.