-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add publish pipeline & cleanup ci (#71)
* add publish pipeline & cleanup ci * remove tag updating in post-publish * use prepack, update pipeline
- Loading branch information
Showing
9 changed files
with
110 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: PR Chat | ||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review, closed] | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
if: ${{ !github.event.pull_request.draft }} | ||
steps: | ||
- name: Checkout Actions | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: "microsoft/vscode-github-triage-actions" | ||
ref: stable | ||
path: ./actions | ||
- name: Install Actions | ||
run: npm install --production --prefix ./actions | ||
- name: Run Code Review Chat | ||
uses: ./actions/code-review-chat | ||
with: | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
slack_token: ${{ secrets.SLACK_TOKEN }} | ||
slack_bot_name: "VSCodeBot" | ||
notification_channel: codereview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
on: [push] | ||
|
||
name: Tests | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
- name: Install root project dependencies | ||
run: npm install | ||
- name: Build and run tests | ||
run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"git.branchProtection": [ | ||
"main" | ||
], | ||
"git.branchProtectionPrompt": "alwaysCommitToNewBranch", | ||
"git.branchRandomName.enable": true, | ||
"githubPullRequests.assignCreated": "${user}", | ||
"githubPullRequests.defaultMergeMethod": "squash" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: $(Date:yyyyMMdd)$(Rev:.r) | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- main | ||
pr: none | ||
|
||
resources: | ||
repositories: | ||
- repository: templates | ||
type: github | ||
name: microsoft/vscode-engineering | ||
ref: main | ||
endpoint: Monaco | ||
|
||
parameters: | ||
- name: publishPackage | ||
displayName: 🚀 Publish jsonc-parser | ||
type: boolean | ||
default: false | ||
|
||
extends: | ||
template: azure-pipelines/npm-package/pipeline.yml@templates | ||
parameters: | ||
npmPackages: | ||
- name: jsonc-parser |