forked from nfl/react-gpt
-
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.
Merge pull request #1 from dennisinteractive/feature/APP-1431-IAS-int…
…egration Feature/APP-1431: IAS integration
- Loading branch information
Showing
10 changed files
with
450 additions
and
128 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,35 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | ||
|
||
name: React GPT Forked Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish-github-registry: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Configure the node version used on GitHub-hosted runners | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10 | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: '@dennisinteractive' | ||
- name: Install dependencies | ||
run: yarn install | ||
- name: Run Tests | ||
run: yarn test | ||
- name: Build Test Package | ||
if: contains(github.ref, 'test') | ||
run: yarn build:umd | ||
- name: Build Production | ||
if: "!contains(github.ref, 'test')" | ||
run: yarn build:umd:min | ||
- name: Publish to Github Packages | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
run: yarn publish |
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,17 +1,7 @@ | ||
/* eslint-disable camelcase */ | ||
module.exports = function (config) { | ||
config.set({ | ||
singleRun: true | ||
}); | ||
process.env.CHROME_BIN = require("puppeteer").executablePath(); | ||
|
||
console.log("running default test on Chrome"); | ||
module.exports = function(config) { | ||
config.set({ | ||
customLaunchers: { | ||
Chrome_CI: { | ||
base: "Chrome", | ||
flags: ["--no-sandbox"] | ||
} | ||
}, | ||
browsers: ["Chrome_CI"] | ||
browsers: ["ChromeHeadless"] | ||
}); | ||
}; |
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.