Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
3677ba96
Unverified
Commit
3677ba96
authored
Oct 13, 2022
by
tom goriunov
Committed by
GitHub
Oct 13, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #243 from blockscout/workflow-enh
workflow enhancements
parents
b7719076
4f81820f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
7 deletions
+40
-7
linters.yml
.github/workflows/linters.yml
+14
-5
playwright.yml
.github/workflows/playwright.yml
+3
-2
test.yml
.github/workflows/test.yml
+23
-0
No files found.
.github/workflows/linters.yml
View file @
3677ba96
name
:
Run code checks
name
:
Linters
on
:
[
pull_request
]
on
:
pull_request
:
push
:
branches
:
-
main
jobs
:
jobs
:
check_code
:
check_code
:
name
:
Check code
name
:
Run code checks
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-node@v3
with
:
node-version
:
16
cache
:
'
yarn'
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
yarn
run
:
yarn
install --frozen-lockfile
-
name
:
Run ESLint
-
name
:
Run ESLint
run
:
yarn lint:eslint
run
:
yarn lint:eslint
-
name
:
Compile TypeScript
-
name
:
Compile TypeScript
...
...
.github/workflows/playwright.yml
View file @
3677ba96
...
@@ -11,11 +11,12 @@ jobs:
...
@@ -11,11 +11,12 @@ jobs:
-
uses
:
actions/checkout@v3
-
uses
:
actions/checkout@v3
with
:
with
:
lfs
:
'
true'
lfs
:
'
true'
-
uses
:
actions/setup-node@v
2
-
uses
:
actions/setup-node@v
3
with
:
with
:
node-version
:
'
16'
node-version
:
'
16'
cache
:
'
yarn'
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
yarn
run
:
yarn
install --frozen-lockfile
-
name
:
Run your tests
-
name
:
Run your tests
run
:
HOME=/root yarn test-ct
run
:
HOME=/root yarn test-ct
-
name
:
Upload test results
-
name
:
Upload test results
...
...
.github/workflows/test.yml
0 → 100644
View file @
3677ba96
name
:
Test workflow
on
:
workflow_run
:
workflows
:
[
"
Linters"
]
types
:
-
completed
jobs
:
on-success
:
if
:
${{ github.event.workflow_run.conclusion == 'success' }}
name
:
Test depended workflow
runs-on
:
ubuntu-latest
steps
:
-
name
:
Print result
run
:
echo Success
on-error
:
if
:
${{ github.event.workflow_run.conclusion == 'failure' }}
name
:
Test depended workflow
runs-on
:
ubuntu-latest
steps
:
-
name
:
Print result
run
:
echo Failure
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment