-
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.
Merge pull request #389 from cre-ne-jp/change-test-actions
GitHub Actions で使用する action を更新
- Loading branch information
Showing
7 changed files
with
1,261 additions
and
1,250 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
|
||
jobs: | ||
test: | ||
name: "Ruby 3.2: test and coverage measurement" | ||
name: "Ruby 3.3: test and coverage measurement" | ||
strategy: | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
|
@@ -32,21 +32,25 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2' | ||
ruby-version: '3.3' | ||
|
||
# runs 'bundle install' and caches installed gems automatically | ||
bundler-cache: true | ||
# 参考: https://igarashikuniaki.net/diary/20200210.html | ||
- name: Install JavaScript packages | ||
- name: 'Enable corepack' | ||
run: corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/hydrogen' | ||
cache: 'yarn' | ||
- name: Compile JavaScripts (webpack) | ||
run: | | ||
yarn install | ||
NODE_ENV=production bin/yarn webpack | ||
- name: Setup database | ||
run: | | ||
cp config/database.yml.github_actions config/database.yml | ||
bin/rails db:setup | ||
- name: Compile JavaScripts (webpack) | ||
run: NODE_ENV=production bin/yarn webpack | ||
- uses: paambaati/[email protected] | ||
- uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: 74e589ede57e23f089cbbd2eee75be23a93b5ace7b5cfce58213cd3f21447147 | ||
with: | ||
|
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,5 +1,5 @@ | ||
nodeLinker: node-modules | ||
compressionLevel: mixed | ||
|
||
enableGlobalCache: false | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
nodeLinker: node-modules |
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 |
---|---|---|
|
@@ -24,5 +24,6 @@ | |
"scripts": { | ||
"dev": "webpack --progress --color --mode=development", | ||
"server": "webpack serve --color --mode=development" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.