-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Everything should be faster now, and assuming caching is implemented it should be even faster. Also, we can restart a failed workflow and not the whole thing like before.
- Loading branch information
Showing
7 changed files
with
158 additions
and
17 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,34 @@ | ||
name: BrowserStack | ||
on: [push] | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
browserstack: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 3 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "10" | ||
|
||
- run: node --version | ||
- run: npm --version | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Run dist | ||
run: npm run dist | ||
|
||
- name: Run BrowserStack tests | ||
run: npm run js-test-cloud | ||
env: | ||
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}" | ||
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}" |
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,33 @@ | ||
name: Bundlesize | ||
on: [push, pull_request] | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
bundlesize: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 3 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "10" | ||
|
||
- run: node --version | ||
- run: npm --version | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Run dist | ||
run: npm run dist | ||
|
||
- name: Run bundlesize | ||
run: npm run bundlesize | ||
env: | ||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_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,28 @@ | ||
name: CSS | ||
on: [push, pull_request] | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
css: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 3 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "10" | ||
|
||
- run: node --version | ||
- run: npm --version | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Build CSS | ||
run: npm run css |
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,29 @@ | ||
name: Docs | ||
on: [push, pull_request] | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 3 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "10" | ||
|
||
- run: node --version | ||
- run: npm --version | ||
- run: java -version | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Test docs | ||
run: npm run docs |
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,28 @@ | ||
name: Lint | ||
on: [push, pull_request] | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 3 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "10" | ||
|
||
- run: node --version | ||
- run: npm --version | ||
|
||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Lint CSS and JS | ||
run: npm run lint |
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