Files
vue-flow/.github/workflows/build-and-test.yml
Braks de6f042826 chore: update deps (#1633)
* chore(tests): update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(workflows): update actions to latest

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore: update pnpm-lock.yaml

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(examples,vite): update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(examples,nuxt): update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(examples,quasar): update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(examples,docs): update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2024-11-01 19:48:16 +01:00

59 lines
1.3 KiB
YAML

name: build-and-test
on:
pull_request:
branches:
- master
- develop
- next-release
- release/*
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Install Dependencies 👨🏻‍💻
uses: ./.github/actions/install-dependencies
- name: Setup Turbo cache 🏎️
id: turbo-cache
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ github.sha }}
restore-keys: |
turbo-${{ runner.os }}-
- name: Run linter 🧹
run: pnpm run lint --cache-dir=.turbo
- name: Build Library 👷
run: pnpm run build --cache-dir=.turbo
- name: Run tests 🧪
uses: cypress-io/github-action@v6
with:
install-command: pnpm cypress install
command: pnpm run test --cache-dir=.turbo
browser: chrome
component: true