-
Notifications
You must be signed in to change notification settings - Fork 50
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 #125 from Malacath-92/master
Fix for numbers with exponents as floats
- Loading branch information
Showing
6 changed files
with
247 additions
and
157 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
|
@@ -9,7 +9,7 @@ on: | |
types: [ created ] | ||
|
||
jobs: | ||
build: | ||
build_and_test: | ||
name: ${{ matrix.name }} | ||
|
||
strategy: | ||
|
@@ -30,7 +30,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Install Node.js | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version: 10.x | ||
|
||
|
@@ -44,8 +44,3 @@ jobs: | |
uses: GabrielBB/[email protected] | ||
with: | ||
run: npm test | ||
- name: Publish | ||
if: success() && startsWith(github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest' | ||
run: npm run deploy | ||
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,44 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [ created ] | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Install Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 10.x | ||
|
||
- name: Wait on tests | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: test_publish | ||
check-name: Ubuntu | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 20 # seconds | ||
|
||
- name: Install | ||
run: npm install | ||
|
||
- name: Build | ||
run: npm run webpack | ||
|
||
- name: Publish | ||
if: success() | ||
run: npm run deploy | ||
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
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.