Skip to content

Commit

Permalink
Version 2: Add ci (#145)
Browse files Browse the repository at this point in the history
* Add ci

* Fix ci

* setup-node

* Fix setup-node

* chore(ci): enable caching

---------

Co-authored-by: alex-slobodian <[email protected]>
Co-authored-by: donskov <[email protected]>
  • Loading branch information
3 people authored May 17, 2024
1 parent bda7998 commit ab4a8d6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Main CI
on: [workflow_dispatch, push]
jobs:
tests_checks_build:
runs-on: ubuntu-latest
name: Tests, checks, build
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
name: Setup node
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run linter
run: yarn lint
- name: Run tests
run: yarn test:ci
- name: Run build
run: yarn build

0 comments on commit ab4a8d6

Please sign in to comment.