Skip to content

Create DB while fetching #14

Create DB while fetching

Create DB while fetching #14

Workflow file for this run

name: Main
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Setup job workspace
uses: ServerlessOpsIO/gha-setup-workspace@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Yarn via corepack
shell: bash
run: corepack enable
- name: Install dependencies
shell: bash
run: yarn install --immutable
- name: Build
shell: bash
run: yarn run build
- name: Test
shell: bash
run: yarn run test
- name: Generate docset
shell: bash
run: yarn run generate
- name: Store Artifacts
uses: ServerlessOpsIO/gha-store-artifacts@v1
deploy:
needs:
- build
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Setup job workspace
uses: ServerlessOpsIO/gha-setup-workspace@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Yarn via corepack
shell: bash
run: corepack enable
- name: Install dependencies
shell: bash
run: yarn install --immutable
- name: Package
shell: bash
run: yarn run package