Skip to content

Commit 94acf25

Browse files
committed
update actions files for incoming pr
1 parent a0c5f14 commit 94acf25

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ jobs:
66
test:
77
strategy:
88
matrix:
9-
os: [ubuntu-latest]
9+
os: [ubuntu-latest, macos-latest, windows-latest]
1010
fail-fast: true
1111
runs-on: ${{ matrix.os }}
12+
timeout-minutes: 30
1213
steps:
1314
- uses: actions/checkout@v2
15+
- run: npx prettier --check src/**
1416
- name: Cache pnpm modules
1517
uses: actions/cache@v2
1618
with:
@@ -27,6 +29,6 @@ jobs:
2729
- run: pnpm vscode-utils prepareFrameworkBuild
2830
- run: pnpm build
2931
- run: pnpm test-plugin
30-
# - uses: GabrielBB/[email protected]
31-
# with:
32-
# run: pnpm integration-test
32+
- uses: GabrielBB/[email protected]
33+
with:
34+
run: pnpm integration-test

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ on:
77
jobs:
88
release:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 30
11+
# needs: test
1012
steps:
13+
- run: npm -v
14+
- run: node -v
1115
- uses: actions/checkout@v2
16+
- run: npx prettier --check src/**
1217
- name: Cache pnpm modules
1318
uses: actions/cache@v2
1419
with:
@@ -21,6 +26,13 @@ jobs:
2126
version: latest
2227
run_install: |
2328
args: [--frozen-lockfile, --strict-peer-dependencies]
29+
- run: pnpm lint
30+
# - run: pnpm unit-test
31+
- run: pnpm vscode-utils prepareFrameworkBuild
32+
- run: pnpm build
33+
- uses: GabrielBB/[email protected]
34+
with:
35+
run: pnpm integration-test
2436
- run: pnpx zardoy-release vscode-extension
2537
env:
2638
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)