build(deps-dev): bump rollup from 4.18.0 to 4.22.4 #161
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: '20.11.1' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Save error log | |
uses: actions/upload-artifact@v4.3.0 | |
if: ${{ failure() }} | |
with: | |
name: npm-debug-log-${{ hashFiles('package-lock.json') }} | |
path: npm-debug.log | |
- name: Pack | |
run: npm pack --pack-destination=packages/tts-react --workspace=tts-react | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test | |
- name: Report Coverage | |
uses: codecov/codecov-action@v4.1.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Build Story | |
run: npm run build:story |