-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update to conform with fbl@1.15.0 changes
- Loading branch information
1 parent
4a9eec4
commit 5330921
Showing
18 changed files
with
1,039 additions
and
3,328 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Public NPM Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
|
||
- run: yarn install | ||
- run: yarn docker:test | ||
|
||
# send test coverage | ||
- run: bash <(curl -s https://codecov.io/bash) -f ./coverage/coverage.lcov | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: coverage | ||
path: ./coverage/ | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: mochawesome-report | ||
path: ./mochawesome-report/ | ||
|
||
build_and_publish: | ||
needs: [build_and_test] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: yarn install | ||
- run: yarn build | ||
- run: yarn install --prod | ||
|
||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,31 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
|
||
- run: yarn install | ||
- run: yarn docker:test | ||
|
||
# send test coverage | ||
- run: bash <(curl -s https://codecov.io/bash) -f ./coverage/coverage.lcov | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: coverage | ||
path: ./coverage/ | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: mochawesome-report | ||
path: ./mochawesome-report/ |
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
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.