mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
chore: upgrade workflows
This commit is contained in:
parent
9d5dad6306
commit
66155b5b0a
2
.github/workflows/branch-merge.yml
vendored
2
.github/workflows/branch-merge.yml
vendored
@ -14,4 +14,4 @@ jobs:
|
||||
github_token: ${{ github.token }}
|
||||
source_ref: ${{ github.ref }}
|
||||
target_branch: main
|
||||
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'
|
||||
commit_message_template: "[Automated] Merged {source_ref} into {target_branch}"
|
||||
|
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
node-version: "12"
|
||||
check-latest: true
|
||||
|
||||
- name: Cache node modules
|
||||
@ -33,8 +33,7 @@ jobs:
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run:
|
||||
npm run build
|
||||
run: npm run build
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@ -18,7 +18,7 @@ on:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '29 14 * * 2'
|
||||
- cron: "29 14 * * 2"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'javascript' ]
|
||||
language: ["javascript"]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||
# Learn more:
|
||||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
||||
|
2
.github/workflows/prettier.yml
vendored
2
.github/workflows/prettier.yml
vendored
@ -17,6 +17,6 @@ jobs:
|
||||
uses: creyD/prettier_action@v3.3
|
||||
with:
|
||||
prettier_options: --write **/*.{html,js,md,vue,less,css}
|
||||
commit_message: 'style: prettify code'
|
||||
commit_message: "style: prettify code"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
3
.github/workflows/sync.yml
vendored
3
.github/workflows/sync.yml
vendored
@ -1,7 +1,6 @@
|
||||
name: Sync
|
||||
|
||||
on:
|
||||
page_build
|
||||
on: page_build
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user