-
Notifications
You must be signed in to change notification settings - Fork 3
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
7 changed files
with
8,504 additions
and
12,740 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 |
---|---|---|
|
@@ -44,15 +44,14 @@ jobs: | |
with: | ||
ruby-version: '3.3.5' | ||
bundler-cache: true | ||
- uses: pnpm/action-setup@v4 | ||
- name: Set up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
cache: 'npm' | ||
- name: Run npm install | ||
run: | | ||
npm install -g [email protected] | ||
npm install | ||
cache: 'pnpm' | ||
- name: Install node dependencies | ||
run: pnpm install | ||
- name: Set up Database | ||
run: bundle exec rails db:prepare | ||
- name: Run specs | ||
|
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 |
---|---|---|
|
@@ -73,20 +73,18 @@ jobs: | |
.eslintrc.cjs | ||
.github/workflows/lint.yml | ||
app/**/*.js | ||
- uses: pnpm/action-setup@v4 | ||
- name: Set up Node | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
cache: 'npm' | ||
- name: Run npm install | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
run: | | ||
npm install -g [email protected] | ||
npm install | ||
cache: 'pnpm' | ||
- name: Install node dependencies | ||
run: pnpm install | ||
- name: Run ESLint | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
run: npx eslint app/**/*.js | ||
run: pnpm eslint app/**/*.js | ||
|
||
stylelint: | ||
name: Stylelint | ||
|
@@ -101,17 +99,15 @@ jobs: | |
.github/workflows/lint.yml | ||
.stylelintrc | ||
app/**/*.{scss,css} | ||
- uses: pnpm/action-setup@v4 | ||
- name: Set up Node | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
cache: 'npm' | ||
- name: Run npm install | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
run: | | ||
npm install -g [email protected] | ||
npm install | ||
cache: 'pnpm' | ||
- name: Install node dependencies | ||
run: pnpm install | ||
- name: Run Stylelint | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
run: npx stylelint app/**/*.{scss,css} | ||
run: pnpm stylelint app/**/*.{scss,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
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.