name: deploy-lesspass-entropy-package on: push: paths: - "packages/lesspass-entropy/**" jobs: test: 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: | cd packages/lesspass-entropy yarn install yarn test deploy: 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 ./deploy lesspass-entropy continue-on-error: true env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }}