chore(deps): bump the dependencies group across 1 directory with 17 updates #914
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
# This workflow will do a clean install of node dependencies, build the source code, and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Build PR | |
# If adding a step that requires SECRETS or WRITE ACCESS be sure to have dependabot skip it. | |
# > if: ${{ github.actor != 'dependabot[bot]' }} | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
# This job will: | |
# * build each package | |
# * run unit tests | |
# * run the linter | |
build: | |
runs-on: ${{ matrix.os }} | |
env: | |
NODE_OPTIONS: "--max-old-space-size=6144" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
node: [18, 20] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v3 | |
- name: Set Node Version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- name: Restore yarn cache | |
uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.node }}-yarn- | |
# - name: Artifactory Check | |
# run: yarn check:registry | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Build packages | |
run: yarn build | |
- name: Build Docs | |
run: yarn build:storybook | |
- name: Lint | |
run: yarn lint:affected | |
- name: Unit Test | |
run: yarn test:affected | |
- name: Version Bump Dry Run | |
run: yarn version:dry-run | |
# - name: Upload coverage report | |
# uses: codecov/codecov-action@v3 # FIXME: no CI provider detected | |
# with: | |
# file: ./coverage/coverage-final.json | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# - name: Build Docs (Node 16+ Only) | |
# if: ${{matrix.node > 14}} | |
# run: yarn build:docs | |
# - name: Build Storybook | |
# run: yarn build:storybook |