-
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 #17 from artichoke/lopopolo/lock-prettier
Lock prettier version for dev and CI
- Loading branch information
Showing
4 changed files
with
41 additions
and
22 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 |
---|---|---|
|
@@ -10,27 +10,22 @@ name: CI | |
schedule: | ||
- cron: "0 0 * * TUE" | ||
jobs: | ||
js: | ||
name: Lint JavaScript | ||
text: | ||
name: Lint and format text | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js runtime | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "lts/*" | ||
|
||
- name: Install toolchain | ||
run: npm ci | ||
|
||
- name: Lint with eslint | ||
run: npm run lint | ||
|
||
text: | ||
name: Lint and format text | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Lint and check formatting with prettier | ||
- name: Format with prettier | ||
run: npx prettier --check '**/*' | ||
|
||
- name: Lint YAML sources with yamllint | ||
|
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 @@ | ||
lts/* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,24 +2,25 @@ | |
"name": "@artichokeruby/spec-state", | ||
"version": "0.1.0", | ||
"private": true, | ||
"description": "Artichoke project website", | ||
"description": "Artichoke ruby/spec tracler", | ||
"keywords": [ | ||
"programming language", | ||
"scripting", | ||
"ruby", | ||
"rust", | ||
"wasm" | ||
], | ||
"homepage": "https://artichoke.github.io/spec-state/", | ||
"homepage": "https://www.artichokeruby.org", | ||
"bugs": "https://github.com/artichoke/spec-state/issues", | ||
"license": "MIT", | ||
"author": "Ryan Lopopolo <[email protected]> (https://hyperbo.la/)", | ||
"contributors": [ | ||
"Ryan Lopopolo <[email protected]> (https://hyperbo.la/)" | ||
], | ||
"repository": "github:artichoke/spec-state", | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"prettier": "^3.2.5" | ||
}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true, | ||
|
@@ -33,9 +34,6 @@ | |
} | ||
}, | ||
"scripts": { | ||
"fmt": "npx prettier --write \"**/*\"", | ||
"lint": "npx eslint . --ext .js,.jsx,.mjs,.ts,.tsx --no-error-on-unmatched-pattern", | ||
"lint:fix": "npx eslint . --ext .js,.jsx,.mjs,.ts,.tsx --fix --no-error-on-unmatched-pattern", | ||
"release:markdown_link_check": "find . -name '*.md' -and -not -path '*/node_modules/*' | sort | xargs -n1 npx markdown-link-check --config .github/markdown-link-check.json" | ||
"fmt": "prettier --write \"**/*\"" | ||
} | ||
} |