-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88dd59b
commit 54f3327
Showing
26 changed files
with
7,187 additions
and
0 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,32 @@ | ||
name: CI | ||
|
||
# Triggers the workflow on push or pull request | ||
on: | ||
push: | ||
branches: ["develop", "features/*"] | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- name: Npm install | ||
working-directory: ./Sources | ||
run: npm install | ||
|
||
# Pack the vsix | ||
- name: Pack | ||
if: ${{ success() }} | ||
working-directory: ./Sources | ||
run: npm run pack | ||
- name: Upload artefact | ||
if: ${{ success() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: locust-extenson | ||
path: ./Sources/*.vsix |
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,40 @@ | ||
name: CI | ||
|
||
# Triggers the workflow on push or pull request | ||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- name: Npm install | ||
working-directory: ./Sources | ||
run: npm install | ||
|
||
# Pack to be able to have a version of the vsix | ||
- name: Pack | ||
if: ${{ success() }} | ||
working-directory: ./Sources | ||
run: npm run pack | ||
- name: Upload artefact | ||
if: ${{ success() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: locust-extenson | ||
path: ./Sources/*.vsix | ||
|
||
# Publish to the marketplace | ||
- name: Publish | ||
if: ${{ success() }} | ||
working-directory: ./Sources | ||
run: npm run publish | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} |
Oops, something went wrong.