Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Tatsinnit <Tatsinnit@users.noreply.github.com>
  • Loading branch information
Tatsinnit committed Jan 15, 2024
1 parent 27835b6 commit aa4ec4a
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 155 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build-dev.yml
Expand Up @@ -11,19 +11,16 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
env:
NODE_OPTIONS: --max_old_space_size=4096
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node_version: [10, 12, 14]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Use node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
version: 20
- name: Install dependencies
run: npm install
- name: Prepare environment
Expand All @@ -42,14 +39,14 @@ jobs:
run: npm run test
if: runner.os != 'Linux'
- name: Package extension
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.node_version == 14
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest'
run: |
vsce package
mkdir vsix
mv *.vsix vsix
- name: Archive extension
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.node_version == 14
uses: actions/upload-artifact@v1
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: vsix
path: vsix

0 comments on commit aa4ec4a

Please sign in to comment.