diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..3a7334b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,26 @@ +name: ci + +on: + pull_request: + push: + branches: [master] + tags: ['*'] + +jobs: + pack: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: { node-version: 14 } + - run: yarn --frozen-lockfile + - run: yarn pack + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: { node-version: 14 } + - run: yarn --frozen-lockfile + - run: yarn lint