Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit f101d25

Browse files
committed
ci: use github actions for ci
1 parent f059c3c commit f101d25

File tree

14 files changed

+64
-4239
lines changed

14 files changed

+64
-4239
lines changed

.circleci/config.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions: {}
14+
15+
defaults:
16+
run:
17+
shell: bash
18+
19+
20+
jobs:
21+
lint:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Initialize environment
25+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4b4659eabe75a67cebf4692c3c88a98275c67200
26+
- name: Install node modules
27+
run: pnpm install --frozen-lockfile
28+
- name: Check Formatting
29+
run: pnpm format --check
30+
- name: Check Lint
31+
run: |
32+
pnpm tslint --project client/tsconfig.json
33+
pnpm tslint --project server/tsconfig.json
34+
pnpm tslint --project server/src/tests/tsconfig.json
35+
pnpm tslint --project syntaxes/tsconfig.json
36+
test:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Initialize environment
40+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4b4659eabe75a67cebf4692c3c88a98275c67200
41+
- name: Install node modules
42+
run: pnpm install --frozen-lockfile
43+
- name: Ensure Build
44+
run: pnpm bazel build //:npm --config=release
45+
- name: Run Tests
46+
run: pnpm bazel test //...

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
node-version: 14.x
2424
- run: pnpm install
2525
- run: cd integration/project
26-
- run: scripts/build.sh package.json
26+
- run: pnpm bazel build //:npm --config=release
2727
- run: xvfb-run -a pnpm run test:e2e
2828
if: runner.os == 'Linux'
2929
- run: pnpm run test:e2e

.ng-dev/pull-request.mts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ export const pullRequest: PullRequestConfig = {
1313
default: 'squash',
1414
labels: [{pattern: 'preserve commits', method: 'rebase'}],
1515
},
16-
mergeReadyLabel: 'action: merge',
17-
commitMessageFixupLabel: 'commit message fixup',
1816
};

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{
3838
"type": "shell",
3939
"label": "build vsix",
40-
"command": "./scripts/build.sh package.json"
40+
"command": "pnpm bazel build //:npm --config=release"
4141
}
4242
]
4343
}

DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pnpm compile
2323
If you'd like to force a clean build, you can delete the existing build artifacts
2424
by running
2525
```shell
26-
./scripts/build.sh
26+
pnpm bazel build //:npm --config=release
2727
```
2828

2929
## Formatting source code

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ npm.npm_translate_lock(
4444
# don't have to run an additional `npm install` action to create a node_modules within the
4545
# //:npm npm_package where the vsce build takes place.
4646
47-
"[email protected].11": [""],
47+
"[email protected].12": [""],
4848
4949
5050
51-
"semver@7.3.7": [""],
51+
"semver@7.7.2": [""],
5252
5353
5454

0 commit comments

Comments
 (0)