mirror of
https://github.com/actions/setup-node.git
synced 2026-03-07 06:51:46 +08:00
Compare commits
4 Commits
997f24f380
...
5013937cde
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5013937cde | ||
|
|
40337cb8f7 | ||
|
|
1ccdddc9b8 | ||
|
|
f7b0d64627 |
2
.github/eslint-compact.json
vendored
2
.github/eslint-compact.json
vendored
@ -4,7 +4,7 @@
|
|||||||
"owner": "eslint-compact",
|
"owner": "eslint-compact",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s(Error|Warning|Info)\\s-\\s(.+)\\s\\((.+)\\)$",
|
"regexp": "^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s([Ee]rror|[Ww]arning|[Ii]nfo)\\s-\\s(.+)\\s\\((.+)\\)$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"column": 3,
|
"column": 3,
|
||||||
|
|||||||
2
.github/eslint-stylish.json
vendored
2
.github/eslint-stylish.json
vendored
@ -4,7 +4,7 @@
|
|||||||
"owner": "eslint-stylish",
|
"owner": "eslint-stylish",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "^([^\\s].*)$",
|
"regexp": "^\\s*([^\\s].*)$",
|
||||||
"file": 1
|
"file": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
38
.github/workflows/datadog-synthetics.yml
vendored
Normal file
38
.github/workflows/datadog-synthetics.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# This workflow will trigger Datadog Synthetic tests within your Datadog organisation
|
||||||
|
# For more information on running Synthetic tests within your GitHub workflows see: https://docs.datadoghq.com/synthetics/cicd_integrations/github_actions/
|
||||||
|
|
||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
# To get started:
|
||||||
|
|
||||||
|
# 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/.
|
||||||
|
# 2. Start using the action within your workflow
|
||||||
|
|
||||||
|
name: Run Datadog Synthetic tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Run Synthetic tests within your GitHub workflow.
|
||||||
|
# For additional configuration options visit the action within the marketplace: https://github.com/marketplace/actions/datadog-synthetics-ci
|
||||||
|
- name: Run Datadog Synthetic tests
|
||||||
|
uses: DataDog/synthetics-ci-github-action@87b505388a22005bb8013481e3f73a367b9a53eb # v1.4.0
|
||||||
|
with:
|
||||||
|
api_key: ${{secrets.DD_API_KEY}}
|
||||||
|
app_key: ${{secrets.DD_APP_KEY}}
|
||||||
|
test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user