ci: update github actions workflow
This commit is contained in:
parent
903c8d2ab4
commit
bb6373e56a
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: npm ci
|
run: yarn --frozen-lockfile
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: npm run build
|
run: yarn build
|
||||||
|
12
.github/workflows/lint.yml
vendored
12
.github/workflows/lint.yml
vendored
@ -20,16 +20,16 @@ jobs:
|
|||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: npm ci
|
run: yarn --frozen-lockfile
|
||||||
|
|
||||||
- name: lint:commit
|
- name: Commit linting
|
||||||
run: npm run lint:commit -- --to "${{ github.sha }}"
|
run: yarn lint:commit -- --to '${{ github.sha }}'
|
||||||
|
|
||||||
- name: Next.js linting
|
- name: Next.js linting
|
||||||
run: npm run lint:next
|
run: yarn lint:next
|
||||||
|
|
||||||
- name: Prettier linting
|
- name: Prettier linting
|
||||||
run: npm run lint:prettier
|
run: yarn lint:prettier
|
||||||
|
|
||||||
- name: Stylelint linting
|
- name: Stylelint linting
|
||||||
run: npm run lint:scss
|
run: yarn lint:scss
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -19,10 +19,10 @@ jobs:
|
|||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: npm ci
|
run: yarn --frozen-lockfile
|
||||||
|
|
||||||
- name: Release project
|
- name: Release project
|
||||||
run: npm run release
|
run: yarn release
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user