diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..715a50937 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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