-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
960ad58
commit e646621
Showing
4 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: demo | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: npm | ||
- run: npm ci | ||
- run: npm run storybook:build | ||
- name: upload storybook | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: ./storybook-static | ||
deploy: | ||
needs: upload | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pages: write | ||
id-token: write | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
coverage | ||
node_modules | ||
dist | ||
/test-results/ | ||
.vscode | ||
TODO.md | ||
TODO.md | ||
/storybook-static/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,11 +90,17 @@ | |
"react": ">=18", | ||
"react-dom": ">=18" | ||
}, | ||
"author": { | ||
"name": "caprolactam" | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/caprolactam/feed-a11y.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/caprolactam/feed-a11y/issues" | ||
}, | ||
"author": "caprolactam <[email protected]> (https://github.com/caprolactam/)", | ||
"keywords": [ | ||
"react", | ||
"headless" | ||
] | ||
], | ||
"homepage": "https://github.com/caprolactam/feed-a11y#readme" | ||
} |