build(deps-dev): Bump the eslint group across 1 directory with 9 updates #1056
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package release | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
package-release: | |
runs-on: ubuntu-latest | |
if: | | |
startsWith(github.head_ref, 'release-') | |
&& github.event.pull_request.merged | |
steps: | |
- name: Checkout out repository | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
cache: 'yarn' | |
# The yarn cache is not node_modules | |
- name: Install Dependencies | |
run: yarn --prefer-offline | |
- name: Run tests | |
run: yarn test | |
- name: Package library | |
run: yarn pack | |
- name: Upload package | |
uses: actions/upload-artifact@v2 | |
with: | |
path: trussworks-react-uswds-v*.*.*.tgz | |
if-no-files-found: error | |
retention-days: 5 |