🔒 fix audit issue with @babel/traverse #17
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: Pull Request | |
on: | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "**/*.md" | |
- "LISCENSE" | |
- ".gitignore" | |
- "docs/**/*" | |
- examples/**/*" | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
with: | |
key: node-modules-${{ hashFiles('**/package-lock.json') }} | |
path: | | |
~/.npm | |
./node_modules | |
- name: Install dependencies | |
run: npm ci | |
- name: Build package | |
run: npm run build:production | |
- name: Run unit test | |
run: npm run test | |
- name: Run e2e test | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: chrome |