Skip to content

chore(deps): update actions/setup-node digest to 60edb5d #1156

chore(deps): update actions/setup-node digest to 60edb5d

chore(deps): update actions/setup-node digest to 60edb5d #1156

name: Continuous Integration
concurrency:
group: bunnycdn-atomic
on:
push:
branches:
- main
pull_request:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Add ESLint Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v18
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Locate Yarn Cache
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Yarn Cache
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn --immutable
- name: Run ESLint
run: yarn lint --fix=false
- name: Run tests
run: yarn test --coverage
env:
BUNNY_VIDEO_LIBRARY: ${{ secrets.BUNNY_VIDEO_LIBRARY }}
BUNNY_API_KEY: ${{ secrets.BUNNY_API_KEY }}
- name: Build Code
run: yarn build