Skip to content

Not sure what is up with the js workflow #125

Not sure what is up with the js workflow

Not sure what is up with the js workflow #125

Workflow file for this run

# This workflow will run lints on the javascript version of tictactoe
name: javascript
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tictactoe_javascript
env:
ESLINT_USE_FLAT_CONFIG: false
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Prettier
uses: actionsx/prettier@v3
with:
# prettier CLI arguments.
args: --check "./tictactoe_javascript/**.{css,js}"
- name: Install eslint
run: |
npm i eslint --save-dev
npm install @babel/core @babel/eslint-parser --save-dev
npm install
- name: Lint
run: ./node_modules/.bin/eslint .