Apply new integration standards #10
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: 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 |