diff options
| author | Jason Miller <[email protected]> | 2020-05-26 18:54:17 -0400 |
|---|---|---|
| committer | Jason Miller <[email protected]> | 2020-05-26 18:54:17 -0400 |
| commit | 4be9189804cfd347192798f599960aa729b49b67 (patch) | |
| tree | 9e6aedb79cdc8a8f7fbe7085f7b905c0c9ca431b | |
| parent | dd64eea1de4cc6488363c5701b4890ac92fe09b2 (diff) | |
Switch to GitHub Actions
| -rw-r--r-- | .github/workflows/compressed-size.yml | 14 | ||||
| -rw-r--r-- | .github/workflows/main.yml | 21 | ||||
| -rw-r--r-- | .travis.yml | 3 |
3 files changed, 35 insertions, 3 deletions
diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml new file mode 100644 index 0000000..d346ef8 --- /dev/null +++ b/.github/workflows/compressed-size.yml @@ -0,0 +1,14 @@ +name: Compressed Size + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: preactjs/compressed-size-action@v1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9d3aacf --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d6b8187..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - node |
