Skip to content

feat: generate facades for Juju 4.0.1 #106

feat: generate facades for Juju 4.0.1

feat: generate facades for Juju 4.0.1 #106

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- run: corepack enable
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install
run: yarn install --immutable
- run: yarn test
prettier:
name: Check Prettier
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- run: corepack enable
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install
run: yarn install --immutable
- run: yarn prettier --check 'api/**/*'
lint:
name: Lint JavaScript/TypeScript
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- run: corepack enable
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install
run: yarn install --immutable
- run: yarn lint
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- run: corepack enable
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install
run: yarn install --immutable
- run: CI=false yarn build