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