Skip to content

build(deps-dev): bump the dependencies group across 1 directory with 7 updates #685

build(deps-dev): bump the dependencies group across 1 directory with 7 updates

build(deps-dev): bump the dependencies group across 1 directory with 7 updates #685

Workflow file for this run

on:
workflow_call:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # 4.0.4
with:
node-version: 20.x
registry-url: "https://registry.npmjs.org"
scope: "@openfga"
always-auth: false
cache: "npm"
cache-dependency-path: ./package-lock.json
- run: npm install
- run: npm run lint -- --ignore-path .galintignore
- run: npm audit
continue-on-error: true
build:
needs: lint
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # 4.0.4
with:
node-version: 20.x
registry-url: "https://registry.npmjs.org"
scope: "@openfga"
always-auth: false
cache: "npm"
cache-dependency-path: ./package-lock.json
- run: npm install
- run: npx playwright install
- run: npm run compile
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'