diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5d9badb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '16' + - run: yarn --frozen-lockfile + - run: yarn test + - run: yarn lint + - run: yarn pretty-quick --check + - run: yarn build diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a8a832b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - lts/* -cache: yarn -script: - - yarn test - - yarn lint