-
-
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.
- Loading branch information
Showing
1,039 changed files
with
57,351 additions
and
16,873 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
ruby: circleci/ruby@1.4.1 | ||
node: circleci/[email protected].1 | ||
ruby: circleci/ruby@2.0.0 | ||
node: circleci/[email protected].3 | ||
|
||
executors: | ||
default: | ||
|
@@ -19,11 +19,11 @@ executors: | |
DB_USER: root | ||
DISABLE_SIMPLECOV: true | ||
RAILS_ENV: test | ||
- image: cimg/postgres:14.0 | ||
- image: cimg/postgres:14.5 | ||
environment: | ||
POSTGRES_USER: root | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
- image: cimg/redis:6.2 | ||
- image: cimg/redis:7.0 | ||
|
||
commands: | ||
install-system-dependencies: | ||
|
@@ -45,7 +45,7 @@ commands: | |
bundle config without 'development production' | ||
name: Set bundler settings | ||
- ruby/install-deps: | ||
bundler-version: '2.3.8' | ||
bundler-version: '2.3.26' | ||
key: ruby<< parameters.ruby-version >>-gems-v1 | ||
wait-db: | ||
steps: | ||
|
@@ -68,7 +68,9 @@ jobs: | |
cache-version: v1 | ||
pkg-manager: yarn | ||
- run: | ||
command: ./bin/rails assets:precompile | ||
command: | | ||
export NODE_OPTIONS=--openssl-legacy-provider | ||
./bin/rails assets:precompile | ||
name: Precompile assets | ||
- persist_to_workspace: | ||
paths: | ||
|
@@ -219,5 +221,5 @@ workflows: | |
pkg-manager: yarn | ||
requires: | ||
- build | ||
version: lts | ||
version: '16.18' | ||
yarn-run: test:jest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -e # Fail the whole script on first error | ||
|
||
# Fetch Ruby gem dependencies | ||
bundle install --path vendor/bundle --with='development test' | ||
|
||
# Fetch Javascript dependencies | ||
yarn install | ||
|
||
# Make Gemfile.lock pristine again | ||
git checkout -- Gemfile.lock | ||
|
||
# [re]create, migrate, and seed the test database | ||
RAILS_ENV=test ./bin/rails db:setup | ||
|
||
# Precompile assets for development | ||
RAILS_ENV=development ./bin/rails assets:precompile | ||
|
||
# Precompile assets for test | ||
RAILS_ENV=test NODE_ENV=tests ./bin/rails assets:precompile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
github: adamlui | ||
patreon: mastodon | ||
open_collective: mastodon | ||
custom: https://sponsor.joinmastodon.org |
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.