Browse Source

Fix CI

tags/site-v9.3.1
Guillaume Vincent 2 years ago
parent
commit
c530f5681c
21 changed files with 46 additions and 73 deletions
  1. +1
    -7
      .github/workflows/containers-test.yml
  2. +4
    -1
      .github/workflows/lesspass-crypto-publish.yml
  3. +1
    -7
      .github/workflows/lesspass-crypto-test.yml
  4. +4
    -1
      .github/workflows/lesspass-entropy-publish.yml
  5. +2
    -7
      .github/workflows/lesspass-entropy-test.yml
  6. +4
    -2
      .github/workflows/lesspass-fingerprint-publish.yml
  7. +3
    -7
      .github/workflows/lesspass-fingerprint-test.yml
  8. +4
    -1
      .github/workflows/lesspass-publish.yml
  9. +5
    -1
      .github/workflows/lesspass-pure-publish.yml
  10. +2
    -7
      .github/workflows/lesspass-pure-test.yml
  11. +4
    -1
      .github/workflows/lesspass-render-password-publish.yml
  12. +1
    -7
      .github/workflows/lesspass-render-password-test.yml
  13. +1
    -7
      .github/workflows/lesspass-test.yml
  14. +3
    -3
      .github/workflows/lesspass-web-extension-publish.yml
  15. +1
    -7
      .github/workflows/lesspass-web-extension-test.yml
  16. +1
    -2
      package.json
  17. +1
    -1
      packages/lesspass-entropy/package.json
  18. +1
    -1
      packages/lesspass-fingerprint/package.json
  19. +1
    -1
      packages/lesspass-pure/package.json
  20. +1
    -1
      packages/lesspass-web-extension/amo.md
  21. +1
    -1
      packages/lesspass-web-extension/package.json

+ 1
- 7
.github/workflows/containers-test.yml View File

@@ -22,18 +22,12 @@ jobs:
python -m pip install -r requirements.txt
python manage.py test
test-site:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-site run test
test-integration:


+ 4
- 1
.github/workflows/lesspass-crypto-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -16,7 +17,9 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-crypto run publish
- run: |
cd packages/lesspass-crypto
yarn publish --non-interactive
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

+ 1
- 7
.github/workflows/lesspass-crypto-test.yml View File

@@ -8,17 +8,11 @@ on:
- "packages/lesspass-crypto/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-crypto run test

+ 4
- 1
.github/workflows/lesspass-entropy-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -15,7 +16,9 @@ jobs:
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-entropy run publish
- run: |
cd packages/lesspass-entropy
yarn publish --non-interactive
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

+ 2
- 7
.github/workflows/lesspass-entropy-test.yml View File

@@ -8,17 +8,12 @@ on:
- "packages/lesspass-entropy/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-entropy run test

+ 4
- 2
.github/workflows/lesspass-fingerprint-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -15,8 +16,9 @@ jobs:
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-fingerprint run build
- run: yarn workspace lesspass-fingerprint run publish
- run: |
cd packages/lesspass-fingerprint
yarn publish --non-interactive
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

+ 3
- 7
.github/workflows/lesspass-fingerprint-test.yml View File

@@ -8,17 +8,13 @@ on:
- "packages/lesspass-fingerprint/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-fingerprint run test

+ 4
- 1
.github/workflows/lesspass-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -15,7 +16,9 @@ jobs:
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass run publish
- run: |
cd packages/lesspass
yarn publish --non-interactive
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

+ 5
- 1
.github/workflows/lesspass-pure-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -15,8 +16,11 @@ jobs:
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-pure run build
- run: yarn workspace lesspass-pure run publish
- run: |
cd packages/lesspass-pure
yarn publish --non-interactive
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

+ 2
- 7
.github/workflows/lesspass-pure-test.yml View File

@@ -8,17 +8,12 @@ on:
- "packages/lesspass-pure/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-pure run test

+ 4
- 1
.github/workflows/lesspass-render-password-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -15,7 +16,9 @@ jobs:
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-render-password run publish
- run: |
cd packages/lesspass-render-password
yarn publish --non-interactive
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

+ 1
- 7
.github/workflows/lesspass-render-password-test.yml View File

@@ -8,17 +8,11 @@ on:
- "packages/lesspass-render-password/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-render-password run test

+ 1
- 7
.github/workflows/lesspass-test.yml View File

@@ -8,17 +8,11 @@ on:
- "packages/lesspass/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass run test

+ 3
- 3
.github/workflows/lesspass-web-extension-publish.yml View File

@@ -7,6 +7,7 @@ on:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -14,9 +15,8 @@ jobs:
with:
node-version: "14"
- run: yarn install
- run: yarn --version
- run: ls packages/lesspass-web-extension/node_modules
- run: ls packages/lesspass-web-extension/node_modules/lesspass-pure
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-pure run build
- run: yarn workspace lesspass-web-extension run build
- run: yarn workspace lesspass-web-extension run release
continue-on-error: true


+ 1
- 7
.github/workflows/lesspass-web-extension-test.yml View File

@@ -8,17 +8,11 @@ on:
- "packages/lesspass-web-extension/**"
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-18.04
strategy:
matrix:
node-version:
- "14"
- "16"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-web-extension run test

+ 1
- 2
package.json View File

@@ -10,8 +10,7 @@
"packages/*"
],
"nohoist": [
"**/lesspass-pure",
"**/lesspass-pure/**"
"**/lesspass-pure"
]
},
"devDependencies": {


+ 1
- 1
packages/lesspass-entropy/package.json View File

@@ -12,7 +12,7 @@
"./src/pbkdf2.js": "./src/pbkdf2.browser.js"
},
"scripts": {
"test": "npm run test:unit && npm run test:browser",
"test": "yarn test:unit && yarn test:browser",
"test:unit": "mocha test --recursive",
"test:browser": "karma start test/karma.conf.js"
},


+ 1
- 1
packages/lesspass-fingerprint/package.json View File

@@ -12,7 +12,7 @@
"./src/hmac.js": "./src/hmac.browser.js"
},
"scripts": {
"test": "npm run test:unit && npm run test:browser",
"test": "yarn test:unit && yarn test:browser",
"test:unit": "mocha test --recursive",
"test:browser": "karma start test/karma.conf.js"
},


+ 1
- 1
packages/lesspass-pure/package.json View File

@@ -10,7 +10,7 @@
"i18n:build": "node src/i18n/build.js",
"i18n:translate": "node src/i18n/translate.js",
"prettier": "prettier --write 'src/**/*'",
"test": "npm run test:unit && npm run test:e2e",
"test": "yarn test:unit && yarn test:e2e",
"test:watch": "jest --watch",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e --headless",


+ 1
- 1
packages/lesspass-web-extension/amo.md View File

@@ -2,7 +2,7 @@

## Verify the web extension

The web extension is just a wrapper around lesspass-pure on npm.
The web extension is just a wrapper around lesspass-pure node module.
Source file correspond to the zip downloaded on http://github.com/lesspass/lesspass/archive/${sha256}.zip.
{sha256} is the git sha256 use when build was done.



+ 1
- 1
packages/lesspass-web-extension/package.json View File

@@ -8,7 +8,7 @@
"start": "cd extension && web-ext run",
"build": "rm -rf ./extension/dist && mkdir ./extension/dist && cp -r ./node_modules/lesspass-pure/dist/ ./extension",
"test": "echo 0",
"release": "npm run release:amo && npm run release:cws",
"release": "yarn release:amo && yarn release:cws",
"release:amo": "cd extension && web-ext-submit",
"release:cws": "cd extension && webstore upload --auto-publish"
},


Loading…
Cancel
Save