build(deps): bump braces from 3.0.2 to 3.0.3 in /examples/create-react-app #165
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: | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: e2e | |
# e2e repos need the plugin to be built | |
- run: npm run build | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: e2e/test_repos/repos/tailwindv3/repo | |
- run: npm run lint:all | |
- run: npm run lint | |
working-directory: e2e/test_repos/repos/tailwindv3/repo | |
type_check: | |
name: type check | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
# e2e repos need the plugin to be built | |
- run: npm run build | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: e2e/test_repos/repos/tailwindv3/repo | |
- run: npm run type-check | |
- run: npm run type-check | |
working-directory: e2e/test_repos/repos/tailwindv3/repo | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
- run: npm run test | |
- name: report coverage | |
if: always() | |
uses: davelosert/vitest-coverage-report-action@v2 | |
e2e: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: restore dependencies | |
uses: bahmutov/npm-install@v1 | |
- run: npm run build | |
- name: restore e2e dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: e2e | |
- run: npm run e2e | |
working-directory: e2e | |
- name: upload playwright report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: playwright-report | |
path: e2e/playwright-report/ | |
retention-days: 30 |