diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml new file mode 100644 index 0000000..ba5c873 --- /dev/null +++ b/.github/workflows/checker.yml @@ -0,0 +1,21 @@ +name: checker +on: push + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: cache deps + uses: actions/cache@v2 + with: + path: "**/node_modules" + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + + - name: yarn install + run: yarn install + + - name: yarn test + run: yarn test diff --git a/.gitignore b/.gitignore index 9220cd2..fbf5692 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,7 @@ dist packages/**/dist # NPM -package-lock.json \ No newline at end of file +package-lock.json + +# yarn +yarn-error.log