Browse Source

Fix version of node and ubuntu in CI

pull/583/head
Guillaume Vincent 3 years ago
parent
commit
1df01dede1
10 changed files with 67 additions and 22 deletions
  1. +8
    -2
      .github/workflows/build-lesspass-pure-package.yml
  2. +2
    -2
      .github/workflows/deploy-cli.yml
  3. +2
    -2
      .github/workflows/deploy-containers.yml
  4. +8
    -2
      .github/workflows/deploy-lesspass-crypto-package.yml
  5. +8
    -2
      .github/workflows/deploy-lesspass-entropy-package.yml
  6. +8
    -2
      .github/workflows/deploy-lesspass-fingerprint-package.yml
  7. +8
    -2
      .github/workflows/deploy-lesspass-package.yml
  8. +4
    -1
      .github/workflows/deploy-lesspass-pure-package.yml
  9. +8
    -2
      .github/workflows/deploy-lesspass-render-password-package.yml
  10. +11
    -5
      .github/workflows/test.yml

+ 8
- 2
.github/workflows/build-lesspass-pure-package.yml View File

@@ -8,9 +8,12 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: git hash
run: |
git rev-parse HEAD
@@ -21,12 +24,15 @@ jobs:
yarn workspace lesspass-pure run test

build-and-commit-and-push:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test
steps:
- uses: actions/checkout@v2
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: build lesspass-pure package
run: |
yarn install


+ 2
- 2
.github/workflows/deploy-cli.yml View File

@@ -7,7 +7,7 @@ on:

jobs:
test-cli:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
@@ -18,7 +18,7 @@ jobs:
cd cli
./test
deploy-cli:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test-cli
steps:
- uses: actions/checkout@v2


+ 2
- 2
.github/workflows/deploy-containers.yml View File

@@ -8,7 +8,7 @@ on:

jobs:
test-containers:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: test containers
@@ -17,7 +17,7 @@ jobs:
./test

deploy-containers:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test-containers
steps:
- uses: actions/checkout@v2


+ 8
- 2
.github/workflows/deploy-lesspass-crypto-package.yml View File

@@ -7,19 +7,25 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test lesspass-crypto package
run: |
yarn install
yarn workspace lesspass-crypto run test

deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: deploy lesspass-crypto package
run: |
cd packages


+ 8
- 2
.github/workflows/deploy-lesspass-entropy-package.yml View File

@@ -7,19 +7,25 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test lesspass-entropy package
run: |
yarn install
yarn workspace lesspass-entropy run test

deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: deploy lesspass-entropy package
run: |
cd packages


+ 8
- 2
.github/workflows/deploy-lesspass-fingerprint-package.yml View File

@@ -7,19 +7,25 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test lesspass-fingerprint package
run: |
yarn install
yarn workspace lesspass-fingerprint run test

deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: deploy lesspass-fingerprint package
run: |
cd packages


+ 8
- 2
.github/workflows/deploy-lesspass-package.yml View File

@@ -7,19 +7,25 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test lesspass package
run: |
yarn install
yarn workspace lesspass run test

deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: deploy lesspass package
run: |
cd packages


+ 4
- 1
.github/workflows/deploy-lesspass-pure-package.yml View File

@@ -7,9 +7,12 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: git hash
run: |
git rev-parse HEAD


+ 8
- 2
.github/workflows/deploy-lesspass-render-password-package.yml View File

@@ -7,19 +7,25 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test lesspass-render-password package
run: |
yarn install
yarn workspace lesspass-render-password run test

deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: deploy lesspass-render-password package
run: |
cd packages


+ 11
- 5
.github/workflows/test.yml View File

@@ -4,18 +4,24 @@ on: [push, pull_request]

jobs:
test-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test packages
run: |
yarn install
yarn test

test-mobile:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: test mobile
run: |
cd mobile
@@ -23,7 +29,7 @@ jobs:
yarn test

test-cli:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
max-parallel: 3
matrix:
@@ -39,7 +45,7 @@ jobs:
./test

test-backend:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
@@ -53,7 +59,7 @@ jobs:
python manage.py test

test-containers:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: test containers


Loading…
Cancel
Save