Skip to content

Commit

Permalink
Restoration of the GitHub repo
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyJeanson committed Apr 20, 2021
1 parent 88dd59b commit 54f3327
Show file tree
Hide file tree
Showing 26 changed files with 7,187 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
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
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
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 }}
Loading

0 comments on commit 54f3327

Please sign in to comment.