Skip to content

chore(deps): update actions/setup-node action to v4.1.0 #1052

chore(deps): update actions/setup-node action to v4.1.0

chore(deps): update actions/setup-node action to v4.1.0 #1052

Workflow file for this run

name: 'build-test'
on:
pull_request:
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Set Node.js 20.x
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 20.x
- name: Install bun
uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 # v1
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- run: bun install --frozen-lockfile
- run: bun all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
permissions:
contents: read # to be able to checkout
pull-requests: write # to be able to remove stale reviews
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
- uses: ./