Skip to content

Commit

Permalink
[2.x] Switch to GitHub Actions CI. (#221)
Browse files Browse the repository at this point in the history
[2.x] Switch to GitHub Actions CI.
  • Loading branch information
bezoerb authored Oct 22, 2019
2 parents 8c2386c + 5f97496 commit 2a76cc9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 43 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Tests
on: [push, pull_request]
env:
CI: true

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
# switch to `8` when https://github.com/actions/setup-node/issues/27 is fixed
node: [6, 8.16.1, 10, 12]
os: [ubuntu-latest, windows-latest]

steps:
- name: Clone repository
uses: actions/checkout@v1

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm install

- name: Run tests
run: npm test
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[PostCSS] plugin to inline local/remote images.

[PostCSS]: https://github.com/postcss/postcss
[ci-img]: https://travis-ci.org/bezoerb/postcss-image-inliner.svg
[ci]: https://travis-ci.org/bezoerb/postcss-image-inliner
[ci-img]: https://github.com/bezoerb/inline-critical/workflows/Tests/badge.svg
[ci]: https://github.com/bezoerb/inline-critical/actions?workflow=Tests

```css
.foo {
Expand Down
29 changes: 0 additions & 29 deletions appveyor.yml

This file was deleted.

0 comments on commit 2a76cc9

Please sign in to comment.