Skip to content

Apply new integration standards #10

Apply new integration standards

Apply new integration standards #10

name: VSF Continuous Integration
on:
pull_request:
types: ["opened", "edited", "reopened", "synchronize"]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
run-ci:
name: Run CI
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [16, 18]
timeout-minutes: 120
steps:
- name: Checkout code 🛎️
uses: actions/checkout@v3
- name: Setup node 🏗️
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Get cache 🗄️
id: cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
shell: bash
if: steps.cache.outputs.cache-hit != true
run: HUSKY=0 yarn --frozen-lockfile
- name: Build project
run: yarn build
- name: Run tests
run: yarn test
# - name: Lint project
# run: yarn lint