ci: update github actions workflow

This commit is contained in:
Walid 2022-05-25 21:44:01 +01:00
parent 903c8d2ab4
commit bb6373e56a
No known key found for this signature in database
GPG Key ID: 7DF9215FC4E48853
3 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ jobs:
node-version: 16.x
- name: Install packages
run: npm ci
run: yarn --frozen-lockfile
- name: Build project
run: npm run build
run: yarn build

View File

@ -20,16 +20,16 @@ jobs:
node-version: 16.x
- name: Install packages
run: npm ci
run: yarn --frozen-lockfile
- name: lint:commit
run: npm run lint:commit -- --to "${{ github.sha }}"
- name: Commit linting
run: yarn lint:commit -- --to '${{ github.sha }}'
- name: Next.js linting
run: npm run lint:next
run: yarn lint:next
- name: Prettier linting
run: npm run lint:prettier
run: yarn lint:prettier
- name: Stylelint linting
run: npm run lint:scss
run: yarn lint:scss

View File

@ -19,10 +19,10 @@ jobs:
node-version: 16.x
- name: Install packages
run: npm ci
run: yarn --frozen-lockfile
- name: Release project
run: npm run release
run: yarn release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}