Skip to content

build(deps-dev): Bump webpack from 5.100.1 to 5.100.2 #1198

build(deps-dev): Bump webpack from 5.100.1 to 5.100.2

build(deps-dev): Bump webpack from 5.100.1 to 5.100.2 #1198

Workflow file for this run

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
strategy:
fail-fast: false
steps:
- name: Checkout out repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'yarn'
# The yarn cache is not node_modules
- name: Install Dependencies
run: yarn add --cached
- name: Run tests
run: yarn test
- name: Package library
# https://v3.yarnpkg.com/cli/pack
run: yarn pack --out trussworks-react-uswds-v%v.tgz
- name: Upload package
uses: actions/upload-artifact@v4
with:
path: trussworks-react-uswds-v*.*.*.tgz
if-no-files-found: error
retention-days: 5