Skip to content

Update test.yml

Update test.yml #4

Workflow file for this run

name: Test code
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-node@v3
with:
node-version: 18
- name: build
run: |
cd javascript-client-generated
npm i
npm run build
- name: lint
run: |
cd javascript-client-generated
npm run lint
- name: test
run: |
cd javascript-client-generated
npm run test