deps: bump the knapsack-packages group across 1 directory with 8 updates #156
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: PR | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build & Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Handle Cache | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: | | |
node_modules | |
**/node_modules | |
~/.cache/yarn | |
key: node-deps-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies | |
run: | | |
yarn install --cache-folder ~/.cache/yarn --prefer-offline --frozen-lockfile | |
- name: Run Full Build | |
run: yarn build | |
- name: Run Knapsack Test | |
run: yarn test | |
- name: Release | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
run: yarn auto shipit | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} |