Skip to content

Commit

Permalink
ci: test windows on node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 23, 2021
1 parent 65cfb99 commit 7c636dc
Showing 1 changed file with 29 additions and 37 deletions.
66 changes: 29 additions & 37 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,16 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
# - ubuntu-latest
# - macos-latest
- windows-latest
node_version:
- 12
# - 12
- 14
node_arch:
- x64
pnpm:
- 6
include:
- os: windows-latest
node_version: 12
node_arch: x64
pnpm: 6
- os: windows-2016
node_version: 12
node_arch: x86
pnpm: 6
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -72,28 +64,28 @@ jobs:
run: ./bin/pnpm run test
if: "!contains(matrix.os, 'windows')" # TODO

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Commit lint ✨
uses: wagoid/commitlint-github-action@v2

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6

- name: Install dependencies
run: pnpm install

- name: Format ✨
run: pnpm run test.format

- name: Lint ✨
run: pnpm run test.lint
# Lint:
# if: "!contains(github.event.head_commit.message, '[skip ci]')"
# runs-on: ubuntu-latest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Commit lint ✨
# uses: wagoid/commitlint-github-action@v2
#
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 6
#
# - name: Install dependencies
# run: pnpm install
#
# - name: Format ✨
# run: pnpm run test.format
#
# - name: Lint ✨
# run: pnpm run test.lint

0 comments on commit 7c636dc

Please sign in to comment.