diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ae8d34f..7b03184 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -31,16 +31,16 @@ jobs: # id: is_docs_only # run: echo "docs_only=${{ steps.changed-files-specific.outputs.only_modified == 'true' }}" >> "$GITHUB_OUTPUT" + - name: Install deps + if: ${{ steps.changed-files.outputs.only_modified == 'true' }} + run: npm ci + - name: Print all changed files if: steps.changed-files.outputs.any_changed == 'true' run: | echo "One or more test file(s) has changed." echo "List all the files that have changed: ${{ steps.changed-files.outputs.all_changed_files }}" - - name: Install deps - if: ${{ steps.changed-files.outputs.only_modified == 'true' }} - run: npm ci - # - name: Lint # run: npm run lint diff --git a/docs/releasing.md b/docs/releasing.md index 735ee14..f1ee460 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -11,5 +11,4 @@ To do this: - Run `npm publish --registry=https://registry.npmjs.org/`. - Run `git push && git push --tags`. - When creating a release on the UI, specify the tag, link PRs associated to the release and include description of all changes. - //