Skip to content

Bump @vercel/ncc from 0.38.4 to 0.44.1 #571

Bump @vercel/ncc from 0.38.4 to 0.44.1

Bump @vercel/ncc from 0.38.4 to 0.44.1 #571

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
security_hardening:
name: Check security hardening
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Clone the repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Ensure SHA pinned actions
uses: ./
build_test:
name: Build & Test
needs: security_hardening
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone the repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
ref: ${{ github.head_ref }} # https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Get runs.using version
id: get-runs-using-version
uses: zgosalvez/github-actions-get-action-runs-using-version@91693e324493459123f17556c0cc836acdc711b5
- name: Set up Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: v${{ steps.get-runs-using-version.outputs.version }}
- name: Cache Node Packages
id: node-cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
with:
path: ~/.npm
key: node-cache-${{ steps.get-runs-using-version.outputs.prop }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
node-cache-${{ steps.get-runs-using-version.outputs.prop }}-
node-cache-
- name: Get Node packages
run: npm ci
- name: Run linter tool
run: npm run lint
- name: Test
run: npm run test
- name: Prepare
run: npm run prepare
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9
with:
commit_message: Apply `npm run prepare` changes