Skip to content

[add] Serial Test script based on Swagger client in OOP schema (#21) #13

[add] Serial Test script based on Swagger client in OOP schema (#21)

[add] Serial Test script based on Swagger client in OOP schema (#21) #13

Workflow file for this run

name: publish Type Package
on:
push:
tags:
- type-v*
jobs:
Build-and-Publish:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com
cache: pnpm
- name: Inject Environment variables
run: |
cat > .env <<EOF
${{ secrets.ENV_FILE }}
EOF
- name: Install, Build & Publish
run: |
pnpm i && npm test
cd type/
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}