diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11737170..461c6a76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,8 @@ name: ci on: - - pull_request - - push + pull_request: + push: + branches: [master] jobs: Test: @@ -13,7 +14,7 @@ jobs: os: - ubuntu-latest - macos-latest - - windows-latest + - windows-2019 node_version: - 10 - 12 @@ -21,20 +22,28 @@ jobs: name: Node ${{ matrix.node_version }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | 'node_modules' key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package.json') }} - name: Setup node - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node_version }} + architecture: x64 + + - name: Setup Cpp + uses: aminya/setup-cpp@v1 + with: + vcvarsall: true + architecture: x64 + python: true - name: Install dependencies run: npm install