mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 08:06:15 +00:00
Merge branch 'main' into actions-http-client
This commit is contained in:
17
.github/workflows/draft-release.yml
vendored
Normal file
17
.github/workflows/draft-release.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Draft release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
draft-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
17
.github/workflows/rebuild-dependabot-prs.yml
vendored
17
.github/workflows/rebuild-dependabot-prs.yml
vendored
@@ -5,17 +5,20 @@ on:
|
||||
branches:
|
||||
- 'dependabot/npm**'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
# This allows a subsequently queued workflow run to interrupt previous runs
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
cancel-in-progress: true
|
||||
# No permissions needed for `GITHUB_TOKEN` since we're using a PAT instead
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
rebuild-dist:
|
||||
if: ${{ github.event.sender.login == 'dependabot[bot]' }}
|
||||
|
||||
# This allows a subsequently queued workflow run to interrupt previous runs.
|
||||
# It is evaluated AFTER the job's `if` condition, so a push triggered by this
|
||||
# workflow's PAT will NOT interrupt a run triggered by a push from Dependabot.
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} / ${{ github.job }} @ ${{ github.ref }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -1,10 +1,14 @@
|
||||
name: Run Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -23,9 +27,3 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
|
||||
# Drafts your next Release notes as Pull Requests are merged into "main"
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
if: github.ref_name == 'main'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -11,6 +11,7 @@ inputs:
|
||||
required: false
|
||||
default: 'false'
|
||||
conclusion:
|
||||
deprecationMessage: 'Use of this input does nothing as it was part of the deprecated `emit_telemetry` flow. You should remove this parameter from your workflow.'
|
||||
description: 'The status of the previous build.'
|
||||
required: false
|
||||
token:
|
||||
|
||||
1577
package-lock.json
generated
1577
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -10,12 +10,12 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "^0.31.1",
|
||||
"eslint": "^8.33.0",
|
||||
"eslint": "^8.35.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-github": "^4.6.1",
|
||||
"jest": "^29.4.1",
|
||||
"jest": "^29.4.3",
|
||||
"nock": "^13.3.0",
|
||||
"prettier": "^2.8.3"
|
||||
"prettier": "^2.8.4"
|
||||
},
|
||||
"scripts": {
|
||||
"all": "npm run format && npm run lint && npm run prepare && npm run test",
|
||||
|
||||
Reference in New Issue
Block a user