diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5f4a24e..b97bd54 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,7 +28,13 @@ jobs: run: __tests__/verify-no-unstaged-changes.sh test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest, windows-latest] + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 - name: Clear tool cache diff --git a/README.md b/README.md index 5a54e52..2bd29be 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-16.04 strategy: matrix: - node: [ '10', '8' ] + node: [ '10', '12' ] name: Node ${{ matrix.node }} sample steps: - uses: actions/checkout@v2 diff --git a/dist/index.js b/dist/index.js index eb52975..f9bc971 100644 --- a/dist/index.js +++ b/dist/index.js @@ -16072,6 +16072,7 @@ function hasNextPage (link) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + const main_1 = __webpack_require__(198); main_1.run(); //# sourceMappingURL=setup-node.js.map diff --git a/package.json b/package.json index 30352b9..a6c45d6 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "license": "MIT", "dependencies": { "@actions/core": "^1.2.2", + "@actions/exec": "^1.0.3", "@actions/github": "^1.1.0", "@actions/http-client": "^1.0.6", "@actions/io": "^1.0.2",