feat: hover info #154
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
fetch-depth: 0 | |
- name: Install Node.js | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # 3.7.0 | |
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 | |
- run: npm audit | |
build: | |
needs: lint | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
fetch-depth: 0 | |
- name: Install Node.js | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # 3.7.0 | |
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' |