fix(deps): update glob and js-yaml to fix security vulnerabilities (#… #973
This file contains hidden or 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: "Validate" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - run: yarn install | |
| - run: yarn run typecheck | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - run: yarn install | |
| - run: yarn run lint | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - run: yarn install | |
| - run: yarn run test | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - run: yarn install | |
| - run: yarn run build | |
| storybook: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - run: yarn install | |
| - run: npx playwright install --with-deps chromium | |
| - run: yarn run storybook:build | |
| - run: | | |
| npx http-server storybook-static --port 6006 --silent & | |
| npx wait-on tcp:6006 | |
| yarn run test:storybook |