mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
refactor: updated CI pipeline
This commit is contained in:
@@ -9,16 +9,18 @@ on:
|
|||||||
- '!.github/workdlows/ci.yml'
|
- '!.github/workdlows/ci.yml'
|
||||||
- '.vscode/*'
|
- '.vscode/*'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- '.env*'
|
||||||
- 'LICENSE'
|
- 'LICENSE'
|
||||||
- 'COPYING'
|
- 'COPYING'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main", "deps" ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.devcontainer/*'
|
- '.devcontainer/*'
|
||||||
- '.github/*'
|
- '.github/*'
|
||||||
- '!.github/workdlows/ci.yml'
|
- '!.github/workdlows/ci.yml'
|
||||||
- '.vscode/*'
|
- '.vscode/*'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- '.env*'
|
||||||
- 'LICENSE'
|
- 'LICENSE'
|
||||||
- 'COPYING'
|
- 'COPYING'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -64,13 +66,3 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }}
|
push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: node:22
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- run: yarn install
|
|
||||||
- run: yarn lint
|
|
||||||
|
|||||||
Reference in New Issue
Block a user