diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 0000000..ef3edd9 --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,22 @@ +name: Testing + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + node-version: [12.x, 14.x, 16.x] + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Installing Node ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - name: Installing dependencies + run: npm install + - name: Running tests + run: npm test diff --git a/package.json b/package.json index 3f22456..a02d247 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "plugin-error": "^1.0.1", "plur": "^3.1.1", "rename": "^1.0.4", - "sharp": "^0.23.1", + "sharp": "^0.28.3", "through2": "^3.0.1", "vinyl": "^2.2.0" },