This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hack in GitHub Actions from PR #1693 because is hanging
- Loading branch information
1 parent
9daf4ba
commit fc6418a
Showing
5 changed files
with
93 additions
and
56 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,54 @@ | ||
name: Node-CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
node-tests: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [10.x, 12.x, 14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout | ||
|
||
- uses: actions/setup-node@v1 | ||
name: Use Node.js ${{ matrix.node-version }} | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Get yarn cache directory | ||
id: yarn-cache-get-dir | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- uses: actions/cache@v2 | ||
id: yarn-cache | ||
name: Restore yarn cache | ||
with: | ||
path: ${{ steps.yarn-cache-get-dir.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: 📦 Install dependencies | ||
run: yarn --production=false --frozen-lockfile | ||
|
||
- name: 🔨Build | ||
run: yarn build --verbose | ||
|
||
- name: 💅🏼 Lint | ||
run: | | ||
yarn lint | ||
yarn ci:lint-docs | ||
- name: E2E tests | ||
run: yarn test:ci --testPathPattern react-server address | ||
|
||
- name: Unit tests | ||
run: yarn test:ci --testPathIgnorePatterns react-server address |
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 @@ | ||
name: Ruby-CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
ruby-tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
name: Use Ruby 2.6 | ||
with: | ||
ruby-version: 2.6 | ||
bundler-cache: true | ||
|
||
- name: 📦 Install dependencies | ||
run: | | ||
bundle config set ignore_messages true | ||
bundle install --frozen | ||
working-directory: ./gems/quilt_rails | ||
|
||
- name: 💅🏼 Lint | ||
run: bundle exec rubocop --fail-fast | ||
working-directory: ./gems/quilt_rails | ||
|
||
- name: Test | ||
run: bundle exec rake test | ||
working-directory: ./gems/quilt_rails |
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
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,6 +1,8 @@ | ||
ci: | ||
require: | ||
- continuous-integration/travis-ci/push | ||
- node-tests (10.x) | ||
- node-tests (12.x) | ||
- node-tests (14.x) | ||
dependencies: | ||
post: | ||
- yarn run build: {timeout: 1800} |