Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mastodon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Boudes
mastodon
Commits
e675c10d
Unverified
Commit
e675c10d
authored
1 year ago
by
Nick Schonning
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Add production asset compile (#24839)
parent
ac41a971
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/test-ruby.yml
+12
-3
12 additions, 3 deletions
.github/workflows/test-ruby.yml
with
12 additions
and
3 deletions
.github/workflows/test-ruby.yml
+
12
−
3
View file @
e675c10d
...
...
@@ -9,7 +9,6 @@ on:
env
:
BUNDLE_CLEAN
:
true
BUNDLE_FROZEN
:
true
BUNDLE_WITHOUT
:
'
development
production'
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
...
...
@@ -19,8 +18,17 @@ jobs:
build
:
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
true
matrix
:
mode
:
-
production
-
test
env
:
RAILS_ENV
:
test
RAILS_ENV
:
${{ matrix.mode }}
BUNDLE_WITH
:
${{ matrix.mode }}
OTP_SECRET
:
precompile_placeholder
SECRET_KEY_BASE
:
precompile_placeholder
steps
:
-
uses
:
actions/checkout@v3
...
...
@@ -50,6 +58,7 @@ jobs:
./bin/rails assets:precompile
-
uses
:
actions/upload-artifact@v3
if
:
matrix.mode == 'test'
with
:
path
:
|-
./public/assets
...
...
@@ -97,7 +106,7 @@ jobs:
PAM_ENABLED
:
true
PAM_DEFAULT_SERVICE
:
pam_test
PAM_CONTROLLED_SERVICE
:
pam_test_controlled
BUNDLE_WITH
:
'
pam_authentication'
BUNDLE_WITH
:
'
pam_authentication
test
'
CI_JOBS
:
${{ matrix.ci_job }}/4
strategy
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment