Skip to content

Commit 3c9f135

Browse files
committed
ci: test gh-pages action
1 parent 93a0797 commit 3c9f135

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build-deploy-docs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,22 @@ name: Build docs
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
jobs:
77
build-and-deploy:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout 🛎️
1111
uses: actions/[email protected]
1212

13+
- name: Enable Corepack
14+
run: corepack enable
15+
- name: Use Node.js 20.x
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20.x'
19+
cache: 'yarn'
20+
1321
- name: Install and build docs 🔧
1422
run: |
1523
yarn

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"prepare": "husky",
1818
"prepublishOnly": "yarn run lint && yarn run build",
19-
"lint": "eslint src && eslint examples",
19+
"lint": "eslint src && eslint stories",
2020
"watch": "tsup --watch",
2121
"build": "tsup --clean",
2222
"dev": "storybook dev -p 6006",

0 commit comments

Comments
 (0)