refactor: config with scss to tailwind (#42)

* fix: update deps and devDeps
* refactor(prettier): remove unwritten file names from formatter
* styles: remove stylelint & scss
* refactor: replace scss styles to tailwind
* feat: implement tailwind config
* refactor: update eslint config
* refactor(locales): replace autho's github url with repo itself
* refactor: change author's name license
* refactor(code): update code settings
* refactor: improve file components generators
* fix(code): add sharable config
* fix(linter): resolve bad parserConfig and linting itself
* refactor: bad imports
* refactor: update workflow with its scripts
This commit is contained in:
Walid
2022-08-13 14:12:53 +01:00
committed by GitHub
parent bfa765e80b
commit 8d066ed42f
27 changed files with 1182 additions and 1866 deletions

View File

@ -1,26 +0,0 @@
name: 'Build tests'
on:
push:
branches: [develop]
pull_request:
branches: [master, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3.0.0
- name: Use Node.js
uses: actions/setup-node@v3.1.1
with:
node-version: 16.x
- name: Install packages
run: yarn --frozen-lockfile
- name: Build project
run: yarn build

View File

@ -1,11 +1,11 @@
name: 'Release version'
name: 'Build & Release'
on:
push:
branches: [master]
jobs:
release:
ci:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
needs: [quality]
@ -21,6 +21,9 @@ jobs:
- name: Install packages
run: yarn --frozen-lockfile
- name: Building project
run: yarn build
- name: Release project
run: yarn release
env:

View File

@ -1,4 +1,4 @@
name: 'Lint tests'
name: 'Lint'
on:
push:
@ -22,14 +22,17 @@ jobs:
- name: Install packages
run: yarn --frozen-lockfile
- name: Commit linting
run: yarn lint:commit -- --to '${{ github.sha }}'
- name: Next.js linting
run: yarn lint:next
- name: Check types
run: yarn check-types
- name: Prettier linting
run: yarn lint:prettier
- name: Stylelint linting
run: yarn lint:scss
- name: Checking editorconfig
run: yarn lint:editorconfig
- name: Commit linting
run: yarn lint:commit -- --to '${{ github.sha }}'