Skip to content

Commit

Permalink
Merge pull request #20 from masa-finance/fix/windows-build
Browse files Browse the repository at this point in the history
Fix windows build
  • Loading branch information
H34D committed Jul 28, 2022
2 parents d9df39e + a2c3c60 commit 9c66ba8
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 487 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Expand Up @@ -8,24 +8,22 @@ jobs:

runs-on: ${{ matrix.os }}

timeout-minutes: 30

strategy:
matrix:
node: [ '12.x', '14.x', '16.x' ]
os: [ ubuntu-latest, windows-latest, macOS-latest ]
os: [ ubuntu-latest, windows-2019, macOS-latest ]

steps:
- name: Fix Windows
if: matrix.os == 'windows-latest'
run: npm config set msvs_version 2017

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node }}

- name: Install deps
run: yarn --frozen-lockfile
run: yarn --frozen-lockfile --network-timeout 1000000000

- name: Lint
run: yarn lint
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -60,7 +60,6 @@
"@types/react-dom": "^18.0.0",
"babel-loader": "^8.2.4",
"husky": "^7.0.4",
"node-gyp": "^9.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-is": "^18.0.0",
Expand Down

0 comments on commit 9c66ba8

Please sign in to comment.