Skip to content

Commit

Permalink
Add GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
leom806 committed May 9, 2024
1 parent 5cb3f67 commit b06ee7e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sixfold - React Active Storage Provider CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install Node packages
run: yarn install --immutable
- name: Lint JS code
run: yarn lint
- name: Format JS code
run: yarn format
- name: Build JS code
run: yarn build
- name: Run tests
run: yarn test

0 comments on commit b06ee7e

Please sign in to comment.