Bump the all group across 1 directory with 9 updates #358
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: Validate | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/[email protected] | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.4 | |
# Cache the local `node_modules` directory. | |
- name: Restore npm cache | |
id: cache-node-modules | |
uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('patches/**') }}-${{ hashFiles('bun.lockb') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('patches/**') }}- | |
${{ runner.os }}-build-${{ hashFiles('patches/**') }}- | |
${{ runner.os }}-${{ hashFiles('patches/**') }}- | |
- name: Install Dependencies | |
if: steps.cache-node-modules.outputs.cache-hit != 'true' | |
run: bun install --frozen-lockfile | |
- name: Build | |
run: bun run build | |
- name: Code Linting | |
run: bun run --bun lint | |
test: | |
name: Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/[email protected] | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.4 | |
# Cache the local `node_modules` directory. | |
- name: Restore npm cache | |
id: cache-node-modules | |
uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('patches/**') }}-${{ hashFiles('bun.lockb') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('patches/**') }}- | |
${{ runner.os }}-build-${{ hashFiles('patches/**') }}- | |
${{ runner.os }}-${{ hashFiles('patches/**') }}- | |
- name: Install Dependencies | |
if: steps.cache-node-modules.outputs.cache-hit != 'true' | |
run: bun install --frozen-lockfile | |
- name: Build | |
run: bun run build | |
- name: Testing | |
run: bun test |