Set up Github Actions #4
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 - Master - Lint and Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint-and-test: | |
strategy: | |
matrix: | |
node-version: ['22.11.0'] | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Use Yarn 4.4.0 | |
run: corepack prepare [email protected] --activate | |
- name: Install Dependencies | |
run: yarn install | |
- name: Run Linter | |
run: yarn rw lint | |
# Disabled tests - existing tests are failing | |
# - name: Run Tests | |
# run: yarn rw test |