mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
chore: tidying workflows + add sherif workflow (#28793)
This commit is contained in:
parent
90f4447b37
commit
de48f2653a
@ -1,4 +1,4 @@
|
||||
name: Check links with Lychee
|
||||
name: docs
|
||||
|
||||
on:
|
||||
pull_request:
|
4
.github/workflows/docs-deploy.yml
vendored
4
.github/workflows/docs-deploy.yml
vendored
@ -1,11 +1,11 @@
|
||||
name: Deploy docs
|
||||
name: docs
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docs/**"
|
||||
branches:
|
||||
- main
|
||||
- 3.x
|
||||
|
||||
# Remove default permissions of GITHUB_TOKEN for security
|
||||
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
|
||||
|
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Docs
|
||||
name: docs
|
||||
|
||||
on:
|
||||
push:
|
||||
|
2
.github/workflows/label-pr.yml
vendored
2
.github/workflows/label-pr.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Label PR
|
||||
name: chore
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
36
.github/workflows/lint-sherif.yml
vendored
Normal file
36
.github/workflows/lint-sherif.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**/package.json"
|
||||
branches:
|
||||
- main
|
||||
- 3.x
|
||||
pull_request:
|
||||
paths:
|
||||
- "**/package.json"
|
||||
branches:
|
||||
- main
|
||||
- 3.x
|
||||
- "!v[0-9]*"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint-monorepo:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||
with:
|
||||
node-version: 20
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
- name: Lint monorepo
|
||||
run: pnpm sherif -r multiple-dependency-versions
|
17
.github/workflows/reproduire-sur-stackblitz.yml
vendored
17
.github/workflows/reproduire-sur-stackblitz.yml
vendored
@ -1,17 +0,0 @@
|
||||
name: reproduire-sur-stackblitz
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
opened
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
reproduire-sur-stackblitz:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: huang-julien/reproduire-sur-stackblitz@v1.0.1
|
||||
with:
|
||||
reproduction-heading: '### Reproduction'
|
2
.github/workflows/reproduire.yml
vendored
2
.github/workflows/reproduire.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Reproduire
|
||||
name: chore
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
|
2
.github/workflows/scorecards.yml
vendored
2
.github/workflows/scorecards.yml
vendored
@ -2,7 +2,7 @@
|
||||
# by a third-party and are governed by separate terms of service, privacy
|
||||
# policy, and support documentation.
|
||||
|
||||
name: Scorecard supply-chain security
|
||||
name: ossf
|
||||
on:
|
||||
# For Branch-Protection check. Only the default branch is supported. See
|
||||
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
|
||||
|
4
.github/workflows/semantic-pull-requests.yml
vendored
4
.github/workflows/semantic-pull-requests.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Semantic pull request
|
||||
name: chore
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
@ -11,7 +11,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
main:
|
||||
semantic-pr:
|
||||
permissions:
|
||||
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
|
||||
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
|
||||
|
17
.github/workflows/stackblitz-link.yml
vendored
Normal file
17
.github/workflows/stackblitz-link.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: chore
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
opened
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
stackblitz:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: huang-julien/reproduire-sur-stackblitz@v1.0.1
|
||||
with:
|
||||
reproduction-heading: '### Reproduction'
|
@ -1,4 +1,4 @@
|
||||
name: Close incomplete issues
|
||||
name: chore
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
@ -85,6 +85,7 @@
|
||||
"playwright-core": "1.46.1",
|
||||
"rimraf": "6.0.1",
|
||||
"semver": "7.6.3",
|
||||
"sherif": "1.0.0",
|
||||
"std-env": "3.7.0",
|
||||
"tinyexec": "0.3.0",
|
||||
"tinyglobby": "0.2.5",
|
||||
|
@ -75,7 +75,6 @@
|
||||
"compatx": "^0.1.8",
|
||||
"consola": "^3.2.3",
|
||||
"cookie-es": "^1.2.2",
|
||||
"impound": "^0.1.0",
|
||||
"defu": "^6.1.4",
|
||||
"destr": "^2.0.3",
|
||||
"devalue": "^5.0.0",
|
||||
@ -87,6 +86,7 @@
|
||||
"h3": "^1.12.0",
|
||||
"hookable": "^5.5.3",
|
||||
"ignore": "^5.3.2",
|
||||
"impound": "^0.1.0",
|
||||
"jiti": "^1.21.6",
|
||||
"klona": "^2.0.6",
|
||||
"knitwork": "^1.1.0",
|
||||
|
@ -135,6 +135,9 @@ importers:
|
||||
semver:
|
||||
specifier: 7.6.3
|
||||
version: 7.6.3
|
||||
sherif:
|
||||
specifier: 1.0.0
|
||||
version: 1.0.0
|
||||
std-env:
|
||||
specifier: 3.7.0
|
||||
version: 3.7.0
|
||||
@ -1022,6 +1025,8 @@ importers:
|
||||
specifier: 3.4.38
|
||||
version: 3.4.38(typescript@5.5.4)
|
||||
|
||||
test/fixtures/remote-provider: {}
|
||||
|
||||
test/fixtures/runtime-compiler:
|
||||
dependencies:
|
||||
nuxt:
|
||||
@ -6376,6 +6381,40 @@ packages:
|
||||
shell-quote@1.8.1:
|
||||
resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==}
|
||||
|
||||
sherif-darwin-arm64@1.0.0:
|
||||
resolution: {integrity: sha512-BRzDsWGjdZ6JqaDQ0HdcpapfHcnZyN24wUWpnFkljZOH78N+vB4qr+wwhmM7oyePJiO4pZWEoIBvzVT4cn1+3g==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
sherif-darwin-x64@1.0.0:
|
||||
resolution: {integrity: sha512-forkTw6v2N2sjvDdHGL+MqSPdLc0e7Z0v9BsmSdIKv5kdCPncVn6tRv/4xfAE7q+Xqa2a2bH9EEXppGb4gR3Tw==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
sherif-linux-arm64@1.0.0:
|
||||
resolution: {integrity: sha512-psjD3YupFQtphWbwptM8EnU2jRkS6cnhxdxqJhMG9/yJpGsk99JD4tEmrDq0j/+T9UXZ5g7kXvQZXzocl3J62A==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
sherif-linux-x64@1.0.0:
|
||||
resolution: {integrity: sha512-4VM2Z0xfKOEEkZ2bZppq4PAxP4RYC2eWyUq23Jl/nQFeoPMQpA9IkF51UGzxZT4WZ2kZDFftgyJeB09yPvd1CA==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
sherif-windows-arm64@1.0.0:
|
||||
resolution: {integrity: sha512-tSEzytTz3guhKLtdMCKWWru6UtmuCXD+0RsUWcqOMpzPBZZwvSr7OrTc83z8Oabmo8k6SJ5fvQeg33JSthgTqw==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
sherif-windows-x64@1.0.0:
|
||||
resolution: {integrity: sha512-R/KXUHBWVPU9hSlWS+Gea/ogP1h/3q/Dm/quqGrVq+MN/F+fiRsJlU52EAjAJ6G5r/4RsvQddD1ova8MKsffdw==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
sherif@1.0.0:
|
||||
resolution: {integrity: sha512-x5gZqXmBT0G6Xnr2N63FwbMjaOikk/mPszl2bl3pnDMMyRi89w1ynAfcdIJpOyqZXW445418zkMIXAkQEfEtHw==}
|
||||
hasBin: true
|
||||
|
||||
shiki@1.1.2:
|
||||
resolution: {integrity: sha512-qNzFwTv5uhEDNUIwp7wHjsrffVeLbmOgWnM5mZZhoiz7G2qAUvqVfUzuWfieD45/YAKipzCtdV9SndacKtABow==}
|
||||
|
||||
@ -13695,6 +13734,33 @@ snapshots:
|
||||
|
||||
shell-quote@1.8.1: {}
|
||||
|
||||
sherif-darwin-arm64@1.0.0:
|
||||
optional: true
|
||||
|
||||
sherif-darwin-x64@1.0.0:
|
||||
optional: true
|
||||
|
||||
sherif-linux-arm64@1.0.0:
|
||||
optional: true
|
||||
|
||||
sherif-linux-x64@1.0.0:
|
||||
optional: true
|
||||
|
||||
sherif-windows-arm64@1.0.0:
|
||||
optional: true
|
||||
|
||||
sherif-windows-x64@1.0.0:
|
||||
optional: true
|
||||
|
||||
sherif@1.0.0:
|
||||
optionalDependencies:
|
||||
sherif-darwin-arm64: 1.0.0
|
||||
sherif-darwin-x64: 1.0.0
|
||||
sherif-linux-arm64: 1.0.0
|
||||
sherif-linux-x64: 1.0.0
|
||||
sherif-windows-arm64: 1.0.0
|
||||
sherif-windows-x64: 1.0.0
|
||||
|
||||
shiki@1.1.2:
|
||||
dependencies:
|
||||
'@shikijs/core': 1.1.2
|
||||
|
@ -1,4 +1,6 @@
|
||||
packages:
|
||||
- "packages/**"
|
||||
- "!packages/nuxi"
|
||||
- "!packages/test-utils"
|
||||
- "playground"
|
||||
- "test/fixtures/*"
|
||||
|
5
test/fixtures/remote-provider/package.json
vendored
Normal file
5
test/fixtures/remote-provider/package.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "remote-provider",
|
||||
"version": "0.0.0",
|
||||
"private": true
|
||||
}
|
Loading…
Reference in New Issue
Block a user