Skip to content

Commit

Permalink
fix build for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Jul 22, 2022
1 parent 33321f8 commit ded41b8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
@@ -1,26 +1,23 @@
name: CI
on: [push]
on: [ push ]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['12.x', '14.x', '16.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [ '12.x', '14.x', '16.x' ]
os: [ ubuntu-latest, windows-latest, macOS-latest ]

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- uses: bahmutov/npm-install@v1

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
run: yarn --frozen-lockfile

- name: Lint
Expand Down

0 comments on commit ded41b8

Please sign in to comment.