chore(deps): update dependency vite to v4.5.6 [security] #1009
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: CI | |
on: | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
timeout-minutes: 12 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: 7 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Get branch names | |
id: branch-name | |
uses: tj-actions/branch-names@v6 | |
with: | |
strip_tag_prefix: false | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint, test and build (pull request) | |
if: ${{ github.event_name == 'pull_request' }} | |
run: pnpm turbo run build --filter={./apps/*}[HEAD^1] --filter={./packages/*}[HEAD^1] | |
- name: Check file existence | |
id: check_files | |
uses: andstor/file-existence-action@v2 | |
with: | |
files: "**/reports/jest-*.xml" | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: steps.check_files.outputs.files_exists == 'true' | |
with: | |
name: JEST Tests | |
path: '**/reports/jest-*.xml' | |
reporter: jest-junit | |
- name: Danger | |
run: pnpm danger ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actor | |
- name: Detect Secrets | |
uses: trufflesecurity/trufflehog@v3.6.7 | |
with: | |
path: ./ | |
base: ${{ github.event.repository.default_branch }} | |
head: HEAD | |
- name: Get changed files in the docs folder | |
uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
hasura: | |
- 'apps/hasura/metadata/**.yaml' | |
# - name: Detect Hasura metadata changes | |
# uses: Fieldguide/action-hasura-change-summary@v2 | |
# if: steps.changes.outputs.hasura == 'true' | |
# id: hasura-change-summary | |
# with: | |
# hasura_endpoint: https://my-pr-${{ github.event.number }}-app.example.com | |
# - name: Create or update summary comment | |
# uses: marocchino/sticky-pull-request-comment@v2 | |
# if: steps.hasura-change-summary.outputs.change_html | |
# with: | |
# header: hasura-change-summary | |
# message: ${{ steps.hasura-change-summary.outputs.change_html }} |