Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 44 additions & 41 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
name: CI-CD
on: push
on:
push:
pull_request:

jobs:
build:
name: Lint, build and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup yarn cache
uses: c-hive/gha-yarn-cache@d528cd63c28aed0a9f44b1cada95050d7aa95c2e
- name: Setup NodeJS 14
uses: actions/setup-node@v2
with:
node-version: '14'
- run: yarn install
- run: yarn lint
- run: yarn build
- run: yarn test
timeout-minutes: 30
deploy:
name: Deploy on github pages
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
- name: Setup NodeJS 16
uses: actions/setup-node@v2
with:
node-version: '16'
- run: yarn install
- run: yarn build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@0f24da7de3e7e135102609a4c9633b025be8411b
with:
branch: gh-pages
folder: docs/build
timeout-minutes: 30
build:
name: Lint, build and test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
- name: Setup NodeJS 24
uses: actions/setup-node@v7
with:
node-version: '24'
cache: yarn
- run: yarn install --immutable
- run: yarn lint
- run: yarn build
- run: yarn test
deploy:
name: Deploy on github pages
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
pages: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
- name: Setup NodeJS 24
uses: actions/setup-node@v7
with:
node-version: '24'
cache: yarn
- run: yarn install --immutable
- run: yarn build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0
with:
branch: gh-pages
folder: docs/build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.yarn/*
!/.yarn/releases
!/.yarn/releases/**
!/.yarn/plugins
!/.yarn/sdks

Expand Down
29 changes: 0 additions & 29 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

1,000 changes: 1,000 additions & 0 deletions .yarn/releases/yarn-4.18.0.cjs

Large diffs are not rendered by default.

55 changes: 0 additions & 55 deletions .yarn/releases/yarn-sources.cjs

This file was deleted.

15 changes: 11 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
approvedGitRepositories:
- "**"

compressionLevel: mixed

enableGlobalCache: false

enableScripts: true

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
npmMinimalAgeGate: 3d

yarnPath: .yarn/releases/yarn-sources.cjs
yarnPath: .yarn/releases/yarn-4.18.0.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"typescript": "^4.0.3",
"webpack": "^5.76.0",
"webpack-cli": "^4.2.0"
}
},
"packageManager": "yarn@4.18.0"
}
Loading
Loading