-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📌 Merge pull request #94 from numaru/release/1.9.0
Release/1.9.0
- Loading branch information
Showing
15 changed files
with
3,199 additions
and
1,626 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,73 @@ | ||
name: Continuous Delivery | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
|
||
- name: Install the package | ||
run: npm install | ||
|
||
- name: Run the tests | ||
run: xvfb-run -a npm test | ||
|
||
- name: Package the extension | ||
if: success() | ||
run: npm run package | ||
|
||
- name: Get the version from the tag | ||
id: tag_name | ||
run: echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v} | ||
shell: bash | ||
|
||
- name: Get the changelog entry | ||
id: changelog_reader | ||
if: success() | ||
uses: mindsers/changelog-reader-action@v2 | ||
with: | ||
validation_depth: 1 | ||
version: ${{ steps.tag_name.outputs.current_version }} | ||
path: ./CHANGELOG.md | ||
|
||
- name: Create a release | ||
id: create_release | ||
if: success() | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.changelog_reader.outputs.version }} | ||
release_name: Release ${{ steps.changelog_reader.outputs.version }} | ||
body: ${{ steps.changelog_reader.outputs.changes }} | ||
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }} | ||
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }} | ||
|
||
- name: Upload the release asset | ||
id: upload_release_asset | ||
if: success() | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./vscode-ceedling-test-adapter-${{ steps.tag_name.outputs.current_version }}.vsix | ||
asset_name: vscode-ceedling-test-adapter-${{ steps.tag_name.outputs.current_version }}.vsix | ||
asset_content_type: application/octet-stream | ||
|
||
- name: Publish to the marketplace | ||
if: success() | ||
run: npm run publish | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} |
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,36 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
|
||
- name: Install the package | ||
run: npm install | ||
|
||
- name: Run the tests | ||
if: runner.os == 'Linux' | ||
run: xvfb-run -a npm test | ||
|
||
- name: Run the tests | ||
if: runner.os != 'Linux' | ||
run: npm test |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
node_modules/ | ||
out/ | ||
.vscode-test/ | ||
**/*.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
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 |
---|---|---|
@@ -1,6 +1,11 @@ | ||
src/** | ||
tests/** | ||
**/*.map | ||
**/*.vsix | ||
package-lock.json | ||
tsconfig.json | ||
test.tsconfig.json | ||
.vscode/** | ||
.vscode-test/** | ||
.github/** | ||
.gitignore |
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
Oops, something went wrong.