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: 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


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

@@ -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


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

@@ -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


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

@@ -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


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

@@ -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


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

@@ -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


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

@@ -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


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

@@ -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


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

@@ -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


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

@@ -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


Loading…
Cancel
Save