Skip to content

Commit

Permalink
trying
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Apr 12, 2024
1 parent b130336 commit 1244fd8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,23 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tictactoe_cpp
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Prettier
uses: actionsx/prettier@v2
with:
# prettier CLI arguments.
args: --check "./tictactoe_javascript/**.{css,js}"
args: --check "**.{css,js}"
- name: Install eslint
run: |
npm i eslint --save-dev
sudo npm init @eslint/config
npm init @eslint/config
npm install --save-dev eslint eslint-config-google
npm install eslint @babel/core @babel/eslint-parser --save-dev
npm install --save-dev eslint-config-prettier
- name: Lint
run: ./node_modules/.bin/eslint ./tictactoe_javascript/ --ext .js,.jsx,.ts,.tsx
run: ./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx

0 comments on commit 1244fd8

Please sign in to comment.