mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-06-15 13:24:17 -06:00
changed actions
This commit is contained in:
parent
f659cb0ccb
commit
550e7fd36c
17
.github/workflows/testAutomatic.yaml
vendored
17
.github/workflows/testAutomatic.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
# name of the workflow.
|
# name of the workflow.
|
||||||
# this is optional.
|
# this is optional.
|
||||||
name: EsLint Check for Correctness in Code
|
name: Continuous Integration
|
||||||
|
|
||||||
# events that will trigger this workflow.
|
# events that will trigger this workflow.
|
||||||
# here, we only have "pull_request", so the workflow will run
|
# here, we only have "pull_request", so the workflow will run
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
# name of the step.
|
# name of the step.
|
||||||
# steps run sequentially.
|
# steps run sequentially.
|
||||||
# this is optionale
|
# this is optionale
|
||||||
- name: checkout use
|
- name: checkout
|
||||||
# each step can either have "uses" or "run".
|
# each step can either have "uses" or "run".
|
||||||
# "uses" run an action written somewhere other than this workflow .
|
# "uses" run an action written somewhere other than this workflow .
|
||||||
# usually from the community.
|
# usually from the community.
|
||||||
@ -32,8 +32,13 @@ jobs:
|
|||||||
|
|
||||||
# another step.
|
# another step.
|
||||||
# this step runs a bash (Ubuntu's default shell) command
|
# this step runs a bash (Ubuntu's default shell) command
|
||||||
- name: Install Modules
|
- name: list files
|
||||||
run: yarn
|
run: ls
|
||||||
|
Eslinter:
|
||||||
|
|
||||||
- name: Run ESLint
|
runs-on: ubuntu-latest
|
||||||
run: eslint . --ext .js,.jsx,.ts,.tsx
|
|
||||||
|
steps:
|
||||||
|
- name: Run ESLint
|
||||||
|
uses: stefanoeb/eslint-action@1.0.2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user