chore(workflows): Use github urls for actions
Some checks failed
Build / build (push) Failing after 1m31s
Build / lint (push) Failing after 6s
Build / test (push) Failing after 6s
Build / integration_tests (push) Failing after 6s
Cypress Tests / cypress-run (1) (push) Failing after 38s
Cypress Tests / cypress-run (2) (push) Failing after 8s
Some checks failed
Build / build (push) Failing after 1m31s
Build / lint (push) Failing after 6s
Build / test (push) Failing after 6s
Build / integration_tests (push) Failing after 6s
Cypress Tests / cypress-run (1) (push) Failing after 38s
Cypress Tests / cypress-run (2) (push) Failing after 8s
This commit is contained in:
parent
f911ea4879
commit
ac9c542672
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
|||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: https://github.com/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
- name: Publish artifacts
|
- name: Publish artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: https://github.com/actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: |
|
path: |
|
||||||
@ -47,10 +47,10 @@ jobs:
|
|||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: https://github.com/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
@ -72,10 +72,10 @@ jobs:
|
|||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: https://github.com/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
@ -99,10 +99,10 @@ jobs:
|
|||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: https://github.com/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
|
6
.github/workflows/cypress.yml
vendored
6
.github/workflows/cypress.yml
vendored
@ -17,10 +17,10 @@ jobs:
|
|||||||
containers: [1, 2] # Uses 2 parallel instances
|
containers: [1, 2] # Uses 2 parallel instances
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: https://github.com/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run Cypress Tests
|
- name: Run Cypress Tests
|
||||||
uses: cypress-io/github-action@v6
|
uses: https://github.com/cypress-io/github-action@v6
|
||||||
with:
|
with:
|
||||||
start: yarn dev
|
start: yarn dev
|
||||||
wait-on: 'http://localhost:8080'
|
wait-on: 'http://localhost:8080'
|
||||||
|
6
.github/workflows/pr-title.yml
vendored
6
.github/workflows/pr-title.yml
vendored
@ -12,11 +12,11 @@ jobs:
|
|||||||
name: Validate PR title
|
name: Validate PR title
|
||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
steps:
|
steps:
|
||||||
- uses: amannn/action-semantic-pull-request@v5
|
- uses: https://github.com/amannn/action-semantic-pull-request@v5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PR_TITLE_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PR_TITLE_TOKEN }}
|
||||||
|
|
||||||
- uses: marocchino/sticky-pull-request-comment@v2
|
- uses: https://github.com/marocchino/sticky-pull-request-comment@v2
|
||||||
# When the previous steps fails, the workflow would stop. By adding this
|
# When the previous steps fails, the workflow would stop. By adding this
|
||||||
# condition you can continue the execution with the populated error message.
|
# condition you can continue the execution with the populated error message.
|
||||||
if: always() && (steps.lint_pr_title.outputs.error_message != null)
|
if: always() && (steps.lint_pr_title.outputs.error_message != null)
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
# Delete a previous comment when the issue has been resolved
|
# Delete a previous comment when the issue has been resolved
|
||||||
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
|
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
uses: https://github.com/marocchino/sticky-pull-request-comment@v2
|
||||||
with:
|
with:
|
||||||
header: pr-title-lint-error
|
header: pr-title-lint-error
|
||||||
delete: true
|
delete: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user