* #9 - set up inertia and tailwind * #9 - fix * #9 - headless ui, heroicons and some webpack stuff * #9 - fix * #9 - fix * #9 - fix * #9 - eslint * #9 - github pr review * #9 - run linter manually * Update resources/js/Pages/Dashboard.vue Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * #9 - fix * Update .eslintrc.js Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
This commit is contained in:
30
.github/workflows/test-and-lint-js.yml
vendored
Normal file
30
.github/workflows/test-and-lint-js.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Test & lint JS stuff
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
test-and-lint-js:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package.lock') }}
|
||||
restore-keys: ${{ runner.os }}-npm-dependencies
|
||||
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Instal npm dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Run JS linter
|
||||
run: npm run lint
|
Reference in New Issue
Block a user