From 7c8e67c22f7222685a6a9154ba5eec2ac4896a3e Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Sun, 20 Oct 2019 21:00:58 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=92=20fix=20build=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI.yml | 14 +++++++++++++- docs/.vuepress/{ => styles}/palette.styl | 0 2 files changed, 13 insertions(+), 1 deletion(-) rename docs/.vuepress/{ => styles}/palette.styl (100%) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b096a93..c42e152 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,18 +30,30 @@ jobs: strategy: matrix: node: [12, 10, 8, 6] + eslint: [6, 5] + exclude: + # ESLint 6 doesn't support Node 6. + - node: 6 + eslint: 6 + # Run ESLint 5 on only the newest and oldest Node. + - node: 10 + eslint: 5 + - node: 8 + eslint: 5 runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 with: fetch-depth: 1 - - name: Install Node.js ${{ matrix.node }} + - name: Install Node.js v${{ matrix.node }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - name: Install Packages run: npm install + - name: Install ESLint v${{ matrix.eslint }} + run: npm install --no-save eslint@^${{ matrix.eslint }}.0.0 - name: Build run: npm run -s build - name: Test diff --git a/docs/.vuepress/palette.styl b/docs/.vuepress/styles/palette.styl similarity index 100% rename from docs/.vuepress/palette.styl rename to docs/.vuepress/styles/palette.styl