mirror of
https://github.com/SomboChea/ui
synced 2026-01-18 09:06:14 +07:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11f50919ef | ||
|
|
ea1ebde2f1 |
124
.github/main.workflow
vendored
124
.github/main.workflow
vendored
@@ -1,93 +1,79 @@
|
|||||||
workflow "build & test" {
|
workflow "build and test" {
|
||||||
resolves = [,
|
|
||||||
"node:12"
|
|
||||||
]
|
|
||||||
on = "pull_request"
|
|
||||||
}
|
|
||||||
|
|
||||||
action "PR:filter" {
|
|
||||||
uses = "actions/bin/filter@master"
|
|
||||||
args = "action 'opened|synchronize'"
|
|
||||||
}
|
|
||||||
|
|
||||||
action "node:8" {
|
|
||||||
needs = ["PR:filter"]
|
|
||||||
uses = "docker://node:8"
|
|
||||||
args = "sh scripts/build-test.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
action "node:10" {
|
|
||||||
needs = ["PR:filter"]
|
|
||||||
uses = "docker://node:10"
|
|
||||||
args = "sh scripts/build-test.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
action "node:11" {
|
|
||||||
needs = ["PR:filter"]
|
|
||||||
uses = "docker://node:11"
|
|
||||||
args = "sh scripts/build-test.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
action "node:12" {
|
|
||||||
needs = [
|
|
||||||
"node:8",
|
|
||||||
"node:10",
|
|
||||||
"node:11"
|
|
||||||
]
|
|
||||||
uses = "docker://node:12"
|
|
||||||
args = "sh scripts/build-test.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
workflow "build, test & release" {
|
|
||||||
resolves = [
|
resolves = [
|
||||||
"github-release"
|
"lint",
|
||||||
|
"test",
|
||||||
|
"branch-filter",
|
||||||
]
|
]
|
||||||
on = "push"
|
on = "push"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "push:node:8" {
|
action "branch-filter" {
|
||||||
uses = "docker://node:8"
|
uses = "actions/bin/filter@master"
|
||||||
args = "sh scripts/build-test.sh"
|
args = "branch"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "push:node:10" {
|
action "install" {
|
||||||
uses = "docker://node:10"
|
uses = "docker://node:10"
|
||||||
args = "sh scripts/build-test.sh"
|
args = "yarn install"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "push:node:11" {
|
action "build" {
|
||||||
uses = "docker://node:11"
|
uses = "docker://node:10"
|
||||||
args = "sh scripts/build-test.sh"
|
needs = ["install"]
|
||||||
|
args = "yarn run build"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "push:node:12" {
|
action "lint" {
|
||||||
needs = [
|
uses = "docker://node:10"
|
||||||
"push:node:8",
|
needs = ["install"]
|
||||||
"push:node:10",
|
args = "yarn run lint"
|
||||||
"push:node:11",
|
}
|
||||||
|
|
||||||
|
action "test" {
|
||||||
|
uses = "docker://node:10"
|
||||||
|
needs = ["build"]
|
||||||
|
args = "yarn run test"
|
||||||
|
}
|
||||||
|
|
||||||
|
workflow "release" {
|
||||||
|
resolves = [
|
||||||
|
"github-release",
|
||||||
|
"release:lint",
|
||||||
]
|
]
|
||||||
uses = "docker://node:12"
|
on = "push"
|
||||||
args = "sh scripts/build-test.sh"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
action "release:filter" {
|
action "release:tag-filter" {
|
||||||
needs = [
|
|
||||||
"push:node:12"
|
|
||||||
]
|
|
||||||
uses = "actions/bin/filter@master"
|
uses = "actions/bin/filter@master"
|
||||||
args = "tag v*"
|
args = "tag v*"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "release:authorization" {
|
action "release:install" {
|
||||||
needs = ["release:filter"]
|
uses = "docker://node:10"
|
||||||
uses = "actions/bin/filter@master"
|
needs = ["release:tag-filter"]
|
||||||
args = ["actor", "ayusharma", "juanpicado"]
|
args = "yarn install"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "release:build" {
|
||||||
|
uses = "docker://node:10"
|
||||||
|
needs = ["release:install"]
|
||||||
|
args = "yarn run build"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "release:lint" {
|
||||||
|
uses = "docker://node:10"
|
||||||
|
needs = ["release:install"]
|
||||||
|
args = "yarn run lint"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "release:test" {
|
||||||
|
uses = "docker://node:10"
|
||||||
|
needs = ["release:build"]
|
||||||
|
args = "yarn run test"
|
||||||
}
|
}
|
||||||
|
|
||||||
action "release:publish" {
|
action "release:publish" {
|
||||||
needs = [
|
needs = ["release:test"]
|
||||||
"release:authorization"
|
|
||||||
]
|
|
||||||
uses = "docker://node:10"
|
uses = "docker://node:10"
|
||||||
args = "sh scripts/publish.sh"
|
args = "sh scripts/publish.sh"
|
||||||
secrets = [
|
secrets = [
|
||||||
@@ -105,4 +91,4 @@ action "github-release" {
|
|||||||
secrets = [
|
secrets = [
|
||||||
"GITHUB_TOKEN",
|
"GITHUB_TOKEN",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
<a name="0.1.2"></a>
|
||||||
|
## [0.1.2](https://github.com/verdaccio/ui/compare/v0.1.1...v0.1.2) (2019-04-28)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="0.1.1"></a>
|
<a name="0.1.1"></a>
|
||||||
## [0.1.1](https://github.com/verdaccio/ui/compare/v0.1.0...v0.1.1) (2019-04-28)
|
## [0.1.1](https://github.com/verdaccio/ui/compare/v0.1.0...v0.1.1) (2019-04-28)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@verdaccio/ui-theme",
|
"name": "@verdaccio/ui-theme",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"description": "Verdaccio User Interface",
|
"description": "Verdaccio User Interface",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Verdaccio Core Team"
|
"name": "Verdaccio Core Team"
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
yarn install
|
|
||||||
|
|
||||||
yarn run build
|
|
||||||
|
|
||||||
yarn run lint
|
|
||||||
|
|
||||||
yarn run test
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user