-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update yaml-playground build & BrowserStack tests (#524)
- Loading branch information
Showing
3 changed files
with
57 additions
and
12 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
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,37 @@ | ||
name: Update playground | ||
|
||
on: | ||
- workflow_dispatch | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: { submodules: true } | ||
- uses: actions/setup-node@v4 | ||
with: { node-version: 20 } | ||
- run: npm ci | ||
- run: npm run build:browser | ||
- name: Playground setup | ||
working-directory: ./playground | ||
run: npm ci | ||
- name: Playground build | ||
working-directory: ./playground | ||
run: npm run build | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
repository: eemeli/yaml-playground | ||
ref: gh-pages | ||
path: ./gh-pages | ||
- run: rm gh-pages/* | ||
- run: cp playground/site/* gh-pages/ | ||
|
||
- name: git config | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
- run: git add . && git commit -m 'Update playground' && git push | ||
working-directory: ./gh-pages |
Submodule playground
updated
21 files
+10 −0 | .eslintrc.yaml | |
+5 −3 | .gitignore | |
+2 −2 | README.md | |
+27 −6 | browser.tests.js | |
+19 −0 | browserstack.yml | |
+11,179 −20,000 | package-lock.json | |
+12 −24 | package.json | |
+0 −117 | scripts/jest-with-services.js | |
+4 −2 | site/index.html | |
+0 −0 | site/playground.css | |
+3 −3 | site/playground.js | |
+5 −2 | site/test.html | |
+0 −4 | src/.eslintrc.yaml | |
+0 −5 | test/.eslintrc.yaml | |
+0 −16 | test/browserstack-driver.js | |
+0 −10 | test/chrome.test.js | |
+0 −10 | test/edge.test.js | |
+0 −10 | test/firefox.test.js | |
+0 −14 | test/local.test.js | |
+0 −10 | test/safari.test.js | |
+0 −69 | webpack.config.js |