mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
chore(ci): ci workflow update
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
name: Audit pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.devcontainer/*'
|
||||
- '.github/*'
|
||||
- '!.github/workflows/audit.yml'
|
||||
- '.vscode/*'
|
||||
- '**.md'
|
||||
- '.env*'
|
||||
- 'LICENSE'
|
||||
- 'COPYING'
|
||||
- '.git*'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.devcontainer/*'
|
||||
- '.github/*'
|
||||
- '!.github/workflows/audit.yml'
|
||||
- '.vscode/*'
|
||||
- '**.md'
|
||||
- '.env*'
|
||||
- 'LICENSE'
|
||||
- 'COPYING'
|
||||
- '.git*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
container: node:24
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: yarn npm audit
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
tags: "my-website:ci"
|
||||
Reference in New Issue
Block a user