Skip to content

Commit

Permalink
Merge workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jun 20, 2024
1 parent 9be3d4b commit c67507f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 25 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/lint.yml

This file was deleted.

19 changes: 17 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: CI

on:
push:
Expand All @@ -7,7 +7,22 @@ on:
branches: ["main"]

jobs:
build:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- run: yarn
# We need to build for linting due to `import` checks in `__tests__` files
- run: yarn build
- run: yarn lint

tests:
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit c67507f

Please sign in to comment.