Skip to content

build(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.0.1 in /functions #6

build(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.0.1 in /functions

build(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.0.1 in /functions #6

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different
# versions of node. For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches:
- main
paths:
- functions/**
pull_request:
branches:
- main
paths:
- functions/**
defaults:
run:
shell: bash
working-directory: functions
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- '20'
- '22'
- latest
steps:
- uses: actions/checkout@v4
# https://github.com/actions/setup-node/issues/480
- run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache-dependency-path: functions/yarn.lock
- run: yarn install --immutable
- run: yarn lint
- run: yarn test
- run: yarn build