diff --git a/.github/workflows/lesspass-web-extension-publish.yml b/.github/workflows/lesspass-web-extension-publish.yml index 5de592c..f36c2cf 100644 --- a/.github/workflows/lesspass-web-extension-publish.yml +++ b/.github/workflows/lesspass-web-extension-publish.yml @@ -1,13 +1,10 @@ name: lesspass-web-extension-publish on: - workflow_run: - workflows: ["lesspass-web-extension-test"] - branches: [main] - types: - - completed + push: + paths: + - "packages/lesspass-web-extension/**" jobs: publish: - if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/lesspass-web-extension-test.yml b/.github/workflows/lesspass-web-extension-test.yml deleted file mode 100644 index bd989db..0000000 --- a/.github/workflows/lesspass-web-extension-test.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: lesspass-web-extension-test -on: - push: - paths: - - "packages/lesspass-web-extension/**" - pull_request: - paths: - - "packages/lesspass-web-extension/**" -jobs: - test: - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: "14" - - run: yarn install - - run: yarn workspace lesspass-web-extension run test diff --git a/packages/lesspass-web-extension/package.json b/packages/lesspass-web-extension/package.json index 2826e19..c469085 100644 --- a/packages/lesspass-web-extension/package.json +++ b/packages/lesspass-web-extension/package.json @@ -7,7 +7,6 @@ "scripts": { "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": "yarn release:amo && yarn release:cws", "release:amo": "cd extension && web-ext-submit", "release:cws": "cd extension && webstore upload --auto-publish"