ci: update github actions workflow
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||
|   | ||||
							
								
								
									
										12
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user