diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..1881095 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: CI + +defaults: + run: + working-directory: ./template + +on: [push, pull_request] + +jobs: + ci: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/cache@v3 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + + - run: make ci-dependencies + - run: make check-all + - run: make ci-test diff --git a/template/.github/workflows/ci.yaml b/template/.github/workflows/ci.yaml index 63604f4..197a6eb 100644 --- a/template/.github/workflows/ci.yaml +++ b/template/.github/workflows/ci.yaml @@ -15,5 +15,5 @@ jobs: key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - run: make ci-dependencies - - run: make check-all + - run: make ci-test