Skip to content

build(deps): bump actions/checkout from 4.1.2 to 4.1.3 in the dependencies group #542

build(deps): bump actions/checkout from 4.1.2 to 4.1.3 in the dependencies group

build(deps): bump actions/checkout from 4.1.2 to 4.1.3 in the dependencies group #542

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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # 4.0.2
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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # 4.0.2
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'