@@ -8,9 +8,12 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: git hash | - name: git hash | ||||
run: | | run: | | ||||
git rev-parse HEAD | git rev-parse HEAD | ||||
@@ -21,12 +24,15 @@ jobs: | |||||
yarn workspace lesspass-pure run test | yarn workspace lesspass-pure run test | ||||
build-and-commit-and-push: | build-and-commit-and-push: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test | needs: test | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
with: | with: | ||||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: build lesspass-pure package | - name: build lesspass-pure package | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
@@ -7,7 +7,7 @@ on: | |||||
jobs: | jobs: | ||||
test-cli: | test-cli: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-python@v1 | - uses: actions/setup-python@v1 | ||||
@@ -18,7 +18,7 @@ jobs: | |||||
cd cli | cd cli | ||||
./test | ./test | ||||
deploy-cli: | deploy-cli: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test-cli | needs: test-cli | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
@@ -8,7 +8,7 @@ on: | |||||
jobs: | jobs: | ||||
test-containers: | test-containers: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- name: test containers | - name: test containers | ||||
@@ -17,7 +17,7 @@ jobs: | |||||
./test | ./test | ||||
deploy-containers: | deploy-containers: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test-containers | needs: test-containers | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
@@ -7,19 +7,25 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test lesspass-crypto package | - name: test lesspass-crypto package | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
yarn workspace lesspass-crypto run test | yarn workspace lesspass-crypto run test | ||||
deploy: | deploy: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test | needs: test | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: deploy lesspass-crypto package | - name: deploy lesspass-crypto package | ||||
run: | | run: | | ||||
cd packages | cd packages | ||||
@@ -7,19 +7,25 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test lesspass-entropy package | - name: test lesspass-entropy package | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
yarn workspace lesspass-entropy run test | yarn workspace lesspass-entropy run test | ||||
deploy: | deploy: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test | needs: test | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: deploy lesspass-entropy package | - name: deploy lesspass-entropy package | ||||
run: | | run: | | ||||
cd packages | cd packages | ||||
@@ -7,19 +7,25 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test lesspass-fingerprint package | - name: test lesspass-fingerprint package | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
yarn workspace lesspass-fingerprint run test | yarn workspace lesspass-fingerprint run test | ||||
deploy: | deploy: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test | needs: test | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: deploy lesspass-fingerprint package | - name: deploy lesspass-fingerprint package | ||||
run: | | run: | | ||||
cd packages | cd packages | ||||
@@ -7,19 +7,25 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test lesspass package | - name: test lesspass package | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
yarn workspace lesspass run test | yarn workspace lesspass run test | ||||
deploy: | deploy: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test | needs: test | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: deploy lesspass package | - name: deploy lesspass package | ||||
run: | | run: | | ||||
cd packages | cd packages | ||||
@@ -7,9 +7,12 @@ on: | |||||
jobs: | jobs: | ||||
deploy: | deploy: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: git hash | - name: git hash | ||||
run: | | run: | | ||||
git rev-parse HEAD | git rev-parse HEAD | ||||
@@ -7,19 +7,25 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test lesspass-render-password package | - name: test lesspass-render-password package | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
yarn workspace lesspass-render-password run test | yarn workspace lesspass-render-password run test | ||||
deploy: | deploy: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
needs: test | needs: test | ||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: deploy lesspass-render-password package | - name: deploy lesspass-render-password package | ||||
run: | | run: | | ||||
cd packages | cd packages | ||||
@@ -4,18 +4,24 @@ on: [push, pull_request] | |||||
jobs: | jobs: | ||||
test-packages: | test-packages: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test packages | - name: test packages | ||||
run: | | run: | | ||||
yarn install | yarn install | ||||
yarn test | yarn test | ||||
test-mobile: | test-mobile: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v1 | |||||
with: | |||||
node-version: "12" | |||||
- name: test mobile | - name: test mobile | ||||
run: | | run: | | ||||
cd mobile | cd mobile | ||||
@@ -23,7 +29,7 @@ jobs: | |||||
yarn test | yarn test | ||||
test-cli: | test-cli: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
strategy: | strategy: | ||||
max-parallel: 3 | max-parallel: 3 | ||||
matrix: | matrix: | ||||
@@ -39,7 +45,7 @@ jobs: | |||||
./test | ./test | ||||
test-backend: | test-backend: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-python@v1 | - uses: actions/setup-python@v1 | ||||
@@ -53,7 +59,7 @@ jobs: | |||||
python manage.py test | python manage.py test | ||||
test-containers: | test-containers: | ||||
runs-on: ubuntu-latest | |||||
runs-on: ubuntu-18.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- name: test containers | - name: test containers | ||||