8d066ed42f
* 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
32 lines
649 B
YAML
32 lines
649 B
YAML
name: 'Build & Release'
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.ref == 'refs/heads/master' }}
|
|
needs: [quality]
|
|
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: Building project
|
|
run: yarn build
|
|
|
|
- name: Release project
|
|
run: yarn release
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|