@@ -1,8 +1,10 @@ | |||||
name: cli-publish | name: cli-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["cli-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "cli-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: cli-test | name: cli-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "cli/**" | - "cli/**" | ||||
pull_request: | pull_request: | ||||
@@ -20,5 +22,6 @@ jobs: | |||||
- uses: actions/setup-python@v2 | - uses: actions/setup-python@v2 | ||||
with: | with: | ||||
python-version: ${{ matrix.python-version }} | python-version: ${{ matrix.python-version }} | ||||
- run: cd cli | |||||
- run: ./test | |||||
- run: | | |||||
cd cli | |||||
./test |
@@ -1,12 +1,15 @@ | |||||
name: containers-publish | name: containers-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["containers-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "containers-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |||||
runs-on: ubuntu-18.04 | runs-on: ubuntu-18.04 | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
@@ -1,6 +1,8 @@ | |||||
name: containers-test | name: containers-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "containers/**" | - "containers/**" | ||||
- "packages/lesspass-site/**" | - "packages/lesspass-site/**" | ||||
@@ -29,7 +31,7 @@ jobs: | |||||
with: | with: | ||||
node-version: "14" | node-version: "14" | ||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass-site run test | |||||
- run: yarn workspace lesspass-site test | |||||
test-integration: | test-integration: | ||||
runs-on: ubuntu-18.04 | runs-on: ubuntu-18.04 | ||||
steps: | steps: | ||||
@@ -1,8 +1,10 @@ | |||||
name: lesspass-crypto-publish | name: lesspass-crypto-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["lesspass-crypto-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "lesspass-crypto-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: lesspass-crypto-test | name: lesspass-crypto-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass-crypto/**" | - "packages/lesspass-crypto/**" | ||||
pull_request: | pull_request: | ||||
@@ -15,4 +17,4 @@ jobs: | |||||
with: | with: | ||||
node-version: "14" | node-version: "14" | ||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass-crypto run test | |||||
- run: yarn workspace lesspass-crypto test |
@@ -1,8 +1,10 @@ | |||||
name: lesspass-entropy-publish | name: lesspass-entropy-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["lesspass-entropy-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "lesspass-entropy-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: lesspass-entropy-test | name: lesspass-entropy-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass-entropy/**" | - "packages/lesspass-entropy/**" | ||||
pull_request: | pull_request: | ||||
@@ -15,5 +17,5 @@ jobs: | |||||
with: | with: | ||||
node-version: "14" | node-version: "14" | ||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass-crypto run build | |||||
- run: yarn workspace lesspass-entropy run test | |||||
- run: yarn workspace lesspass-crypto build | |||||
- run: yarn workspace lesspass-entropy test |
@@ -1,8 +1,10 @@ | |||||
name: lesspass-fingerprint-publish | name: lesspass-fingerprint-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["lesspass-fingerprint-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "lesspass-fingerprint-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: lesspass-fingerprint-test | name: lesspass-fingerprint-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass-fingerprint/**" | - "packages/lesspass-fingerprint/**" | ||||
pull_request: | pull_request: | ||||
@@ -16,5 +18,5 @@ jobs: | |||||
node-version: "14" | node-version: "14" | ||||
registry-url: "https://registry.npmjs.org" | registry-url: "https://registry.npmjs.org" | ||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass-crypto run build | |||||
- run: yarn workspace lesspass-fingerprint run test | |||||
- run: yarn workspace lesspass-crypto build | |||||
- run: yarn workspace lesspass-fingerprint test |
@@ -1,8 +1,10 @@ | |||||
name: lesspass-publish | name: lesspass-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["lesspass-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "lesspass-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,8 +1,10 @@ | |||||
name: lesspass-pure-publish | name: lesspass-pure-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["lesspass-pure-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "lesspass-pure-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: lesspass-pure-test | name: lesspass-pure-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass-pure/**" | - "packages/lesspass-pure/**" | ||||
pull_request: | pull_request: | ||||
@@ -15,5 +17,5 @@ jobs: | |||||
with: | with: | ||||
node-version: "14" | node-version: "14" | ||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass-crypto run build | |||||
- run: yarn workspace lesspass-pure run test | |||||
- run: yarn workspace lesspass-crypto build | |||||
- run: yarn workspace lesspass-pure test |
@@ -1,8 +1,10 @@ | |||||
name: lesspass-render-password-publish | name: lesspass-render-password-publish | ||||
on: | on: | ||||
workflow_run: | workflow_run: | ||||
workflows: ["lesspass-render-password-test"] | |||||
branches: [main] | |||||
workflows: | |||||
- "lesspass-render-password-test" | |||||
branches: | |||||
- main | |||||
types: | types: | ||||
- completed | - completed | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: lesspass-render-password-test | name: lesspass-render-password-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass-render-password/**" | - "packages/lesspass-render-password/**" | ||||
pull_request: | pull_request: | ||||
@@ -1,6 +1,8 @@ | |||||
name: lesspass-test | name: lesspass-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass/**" | - "packages/lesspass/**" | ||||
pull_request: | pull_request: | ||||
@@ -15,4 +17,4 @@ jobs: | |||||
with: | with: | ||||
node-version: "14" | node-version: "14" | ||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass run test | |||||
- run: yarn workspace lesspass test |
@@ -1,6 +1,8 @@ | |||||
name: lesspass-web-extension-publish | name: lesspass-web-extension-publish | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "packages/lesspass-web-extension/**" | - "packages/lesspass-web-extension/**" | ||||
jobs: | jobs: | ||||
@@ -1,6 +1,8 @@ | |||||
name: mobile-test | name: mobile-test | ||||
on: | on: | ||||
push: | push: | ||||
branches: | |||||
- main | |||||
paths: | paths: | ||||
- "mobile/**" | - "mobile/**" | ||||
pull_request: | pull_request: | ||||