From be8f30cc28732de9fb122e31310376a577c62038 Mon Sep 17 00:00:00 2001 From: Matteo Vivona Date: Thu, 11 Jun 2020 21:00:43 +0200 Subject: [PATCH 1/2] ci(build): add windows and mac on node 14 --- .github/workflows/ci.yml | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48afd77f..012a90ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - # node-version: [12.x, 14.x] - node-version: [12.x] + node-version: [12.x, 14.x] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - run: git config --global core.autocrlf false # this is needed to prevent git changing EOL after cloning on Windows OS @@ -37,32 +36,3 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ./lcov.info - - npm-node14: - runs-on: ${{ matrix.os }} - strategy: - matrix: - node-version: [14.x] - os: [ubuntu-latest] - steps: - - run: git config --global core.autocrlf false # this is needed to prevent git changing EOL after cloning on Windows OS - - uses: actions/checkout@v2 - - name: Use Node.js - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Install with npm - run: | - npm install - - name: Lint code - run: | - npm run lint - - name: Build - run: | - npm run build - - name: Storybook build - run: | - npm run build-storybook - - name: Run tests - run: | - npm run test:ci From 9e77b01c0d5c1804e0e1d31e34d091581651f578 Mon Sep 17 00:00:00 2001 From: Matteo Vivona Date: Thu, 11 Jun 2020 21:13:18 +0200 Subject: [PATCH 2/2] Revert "ci(build): add windows and mac on node 14" This reverts commit be8f30cc28732de9fb122e31310376a577c62038. --- .github/workflows/ci.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 012a90ca..48afd77f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [12.x, 14.x] + # node-version: [12.x, 14.x] + node-version: [12.x] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - run: git config --global core.autocrlf false # this is needed to prevent git changing EOL after cloning on Windows OS @@ -36,3 +37,32 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ./lcov.info + + npm-node14: + runs-on: ${{ matrix.os }} + strategy: + matrix: + node-version: [14.x] + os: [ubuntu-latest] + steps: + - run: git config --global core.autocrlf false # this is needed to prevent git changing EOL after cloning on Windows OS + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install with npm + run: | + npm install + - name: Lint code + run: | + npm run lint + - name: Build + run: | + npm run build + - name: Storybook build + run: | + npm run build-storybook + - name: Run tests + run: | + npm run test:ci