Skip to content

build(deps): bump @openfga/syntax-transformer from 0.2.0-beta.21 to 0… #683

build(deps): bump @openfga/syntax-transformer from 0.2.0-beta.21 to 0…

build(deps): bump @openfga/syntax-transformer from 0.2.0-beta.21 to 0… #683

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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'