chore: update dev deps and fix rollup not deleting the dist/types dir… #672
Workflow file for this run
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
name: Node.js CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo under GH workspace | |
uses: actions/checkout@v3 | |
- name: Use nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- name: Install deps without updating package-lock.json | |
run: npm i --no-save | |
- name: Install Playwright for Storybook | |
run: npx playwright install --with-deps | |
- name: Run the CI build | |
run: npm run ci | |
- name: Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |