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'
|
||||
- '.vscode/*'
|
||||
- '**.md'
|
||||
- '.env*'
|
||||
- 'LICENSE'
|
||||
- 'COPYING'
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "main", "deps" ]
|
||||
paths-ignore:
|
||||
- '.devcontainer/*'
|
||||
- '.github/*'
|
||||
- '!.github/workdlows/ci.yml'
|
||||
- '.vscode/*'
|
||||
- '**.md'
|
||||
- '.env*'
|
||||
- 'LICENSE'
|
||||
- 'COPYING'
|
||||
workflow_dispatch:
|
||||
@@ -64,13 +66,3 @@ jobs:
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }}
|
||||
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