Skip to content

Commit

Permalink
use npm i
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh-couchbase committed Apr 2, 2024
1 parent bd136be commit b2e6e2a
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ jobs:
fail-fast: false
matrix:
include:
# - os: windows-2022
# platform: win32
# arch: x64
- os: windows-2022
platform: win32
arch: x64
#- os: windows-latest
# platform: win32
# arch: ia32
#- os: windows-latest
# platform: win32
# arch: arm64
# - os: ubuntu-latest
# platform: linux
# arch: x64
# - os: ubuntu-latest
# platform: linux
# arch: arm64
- os: ubuntu-latest
platform: linux
arch: x64
- os: ubuntu-latest
platform: linux
arch: arm64
# - os: ubuntu-latest
# platform: linux
# arch: armhf
# - os: ubuntu-latest
# platform: alpine
# arch: x64
- os: ubuntu-latest
platform: alpine
arch: x64
- os: macos-13
platform: darwin
arch: x64
Expand All @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
architecture: ${{ matrix.arch }}
cache: 'npm'
- run: echo '${{ secrets.CONFIG_JSON }}' > ${{ github.workspace }}/src/config.json
Expand All @@ -55,12 +55,8 @@ jobs:
shell: pwsh
if: matrix.platform == 'win32'
run: choco install openssl.light --version=1.1.1 && choco install cmake --global && npm install --global cmake-js node-gyp && echo CMAKE_JS_LIB - $CMAKE_JS_LIB
- name: mac-specific
shell: bash
if: matrix.platform =='darwin'
run: brew install openssl@3
- name: general
run: npm ci && npm run rebuild
run: npm i && npm run rebuild
- run: npx vsce package --target ${{ env.target }}
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit b2e6e2a

Please sign in to comment.