Skip to content

Commit

Permalink
Merge pull request #2 from pantheredeye/bbb-github-actions
Browse files Browse the repository at this point in the history
Set up Github Actions
  • Loading branch information
pantheredeye authored Nov 21, 2024
2 parents 530b222 + fd8bffd commit 7b68a43
Showing 1 changed file with 41 additions and 0 deletions.
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

0 comments on commit 7b68a43

Please sign in to comment.