From eee06738a278301f0b635440b47c9173a4ad6599 Mon Sep 17 00:00:00 2001 From: Vlad Filippov Date: Mon, 24 May 2021 10:11:28 -0400 Subject: [PATCH 1/3] Update grunt-known-options --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d14f5a4c..965999dd 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "findup-sync": "~0.3.0", "glob": "~7.1.6", "grunt-cli": "~1.4.2", - "grunt-known-options": "~1.1.1", + "grunt-known-options": "~2.0.0", "grunt-legacy-log": "~3.0.0", "grunt-legacy-util": "~2.0.1", "iconv-lite": "~0.4.13", From 08896aed6eb8284d1b6765ad5d27942e81697589 Mon Sep 17 00:00:00 2001 From: Vlad Filippov Date: Mon, 24 May 2021 10:15:03 -0400 Subject: [PATCH 2/3] Switch to Actions --- .github/workflows/test.yml | 39 ++++++++++++++++++++++++++++++++++++++ .travis.yml | 12 ------------ appveyor.yml | 27 -------------------------- 3 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..677dad4d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,39 @@ +name: Tests + +on: [push, pull_request] + +env: + FORCE_COLOR: 2 + +jobs: + run: + name: Node ${{ matrix.node }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + node: [10, 12, 14] + os: [ubuntu-latest, windows-latest] + + steps: + - name: Clone repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + + - name: Install npm dependencies + run: npm ci + + - name: Run tests + run: npm test + + # We test multiple Windows shells because of prior stdout buffering issues + # filed against Grunt. https://github.com/joyent/node/issues/3584 + - name: Run PowerShell tests + run: "npm test # PowerShell" # Pass comment to PS for easier debugging + shell: powershell + if: startsWith(matrix.os, 'windows') diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1fbaa3e3..00000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -sudo: false -language: node_js -node_js: - - "8" - - "10" - - "12" -before_install: - - if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi -before_script: - - npm uninstall grunt # https://github.com/npm/npm/issues/3958 -matrix: - fast_finish: true diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 87e8c4da..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Fix line endings on Windows -init: - - git config --global core.autocrlf true -# What combinations to test -environment: - matrix: - - nodejs_version: "8" - - nodejs_version: "10" - - nodejs_version: "12" -platform: - - x86 - - x64 -install: - - ps: Install-Product node $env:nodejs_version - - npm install -test_script: - # Output useful info for debugging. - - node --version && npm --version - # We test multiple Windows shells because of prior stdout buffering issues - # filed against Grunt. https://github.com/joyent/node/issues/3584 - - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging - - cmd: npm test -build: off -matrix: - fast_finish: true -cache: - - node_modules -> package.json # local npm modules From d13bf88a0c5e5757f1464f0ba6df4f2945180477 Mon Sep 17 00:00:00 2001 From: Vlad Filippov Date: Mon, 24 May 2021 10:19:44 -0400 Subject: [PATCH 3/3] Fix ci install --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 677dad4d..a90a190b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: node-version: ${{ matrix.node }} - name: Install npm dependencies - run: npm ci + run: npm i - name: Run tests run: npm test