#9 - set up frontend (#10)

* #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:
Adrian Hopek
2022-01-11 14:04:01 +01:00
committed by GitHub
parent 8f5f2b88f0
commit 262d37d862
23 changed files with 3386 additions and 2348 deletions

30
.github/workflows/test-and-lint-js.yml vendored Normal file
View 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

View File

@@ -1,4 +1,4 @@
name: Build & Test
name: Test & lint PHP stuff
on:
push:
@@ -7,7 +7,7 @@ on:
branches: [ "main" ]
jobs:
build:
test-and-lint-php:
runs-on: ubuntu-20.04
steps:
@@ -33,7 +33,7 @@ jobs:
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-suggest
- name: Run linter
- name: Run PHP linter
run: composer ecs
- name: Execute tests