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:
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -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
|
@ -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:
|
15
.github/workflows/lint.yml
vendored
15
.github/workflows/lint.yml
vendored
@ -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 }}'
|
||||
|
Reference in New Issue
Block a user