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
30 changes: 22 additions & 8 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
name: Pull Request
on:
push:
branches: [master]
pull_request:
types: [opened reopened syncronize]
types: [opened, reopened, synchronize]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version-file: .tool-versions
cache: npm
- name: Install dependencies
run: npm install
run: npm ci
- name: Lint commit messages
uses: wagoid/commitlint-github-action@v1
uses: wagoid/commitlint-github-action@v6
with:
configFile: commitlint.config.cjs
- name: Lint code
run: npm run eslint
- name: Lint styles
Expand All @@ -29,12 +39,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v3
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: 22
node-version-file: .tool-versions
cache: npm
- name: Install dependencies
run: npm install
run: npm ci
- name: Chromatic
uses: chromaui/action@v18
with:
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v3
uses: actions/checkout@v7
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: 22
node-version-file: .tool-versions
cache: npm
- name: Install dependencies
run: npm install
run: npm ci
- name: Lint code
run: npm run eslint
- name: Lint styles
Expand All @@ -28,7 +30,7 @@ jobs:
- name: Build
run: npm run build:storybook --workspace=packages/react
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.3
uses: JamesIves/github-pages-deploy-action@v4
with:
BRANCH: gh-pages
FOLDER: packages/react/storybook-static
branch: gh-pages
folder: packages/react/storybook-static
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
"husky": "husky install",
"release": "lerna version --no-push"
},
"engines": {
"node": ">=22",
"npm": ">=10"
},
"packageManager": "npm@11.19.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Elonsoft/esfront.git"
Expand Down
Loading