Skip to content

v1.46.0

v1.46.0 #4

Workflow file for this run

name: CI — Generate and Release
env:
DOCKER_ENGINE_API: https://docs.docker.com/engine/api/v1.46.yaml
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/[email protected]
- name: Setup NodeJS
uses: actions/[email protected]
with:
node-version: 16
- name: Install Dependencies
run: npm install
- name: Generate the Client
run: npm run generate ${{ env.DOCKER_ENGINE_API }}
- name: Build the Package
run: npm run build
- name: Version the Package
uses: jaywcjlove/[email protected]
with:
version: ${{ github.ref_name }}
- name: Publish the Package
uses: JS-DevTools/npm-publish@v1
with:
access: public
token: ${{ secrets.NPM_TOKEN }}