Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Github Actions #2

Merged
merged 5 commits into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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: Enable Corepack
run: corepack enable

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'

- name: Use Yarn 4.4.0
run: corepack prepare [email protected] --activate

- name: Install Dependencies
run: yarn install --immutable

- name: Run Linter
run: yarn rw lint

# Disabled tests - existing tests are failing
# - name: Run Tests
# run: yarn rw test