Skip to content

Commit

Permalink
feat: Add CI GitHub action.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomenezes committed Sep 27, 2023
1 parent e4a3013 commit 46f2376
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'yarn'

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Code format check
run: yarn format:check

- name: Linting
run: yarn lint

- name: Run Tests
run: yarn test:ci

0 comments on commit 46f2376

Please sign in to comment.