
* #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>
31 lines
643 B
YAML
31 lines
643 B
YAML
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
|