chore(deps): update dependency vite to v5.4.6 [security] #1227
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: | |
merge_group: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: | |
contents: read # for checkout | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: lts/* | |
- run: corepack enable && pnpm --version | |
- run: pnpm install --ignore-scripts | |
- run: pnpm audit | |
- run: pnpm lint | |
- run: pnpm build | |
test: | |
needs: build | |
timeout-minutes: 15 | |
strategy: | |
# A test failing on windows doesn't mean it'll fail on macos. It's useful to let all tests run to its completion to get the full picture | |
fail-fast: false | |
matrix: | |
# https://nodejs.org/en/about/releases/ | |
node: [lts/*, current] | |
os: [ubuntu-latest] | |
# Also test the LTS on mac and windows | |
include: | |
- os: macos-latest | |
node: lts/* | |
- os: windows-latest | |
node: lts/* | |
runs-on: ${{ matrix.os }} | |
env: | |
NODE_VERSION: ${{ matrix.node }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
# It's only necessary to do this for windows, as mac and ubuntu are sane OS's that already use LF | |
- if: matrix.os == 'windows-latest' | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: ${{ matrix.node }} | |
- run: corepack enable && pnpm --version | |
- run: pnpm install | |
- run: pnpm --if-present --recursive prepublishOnly |