Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

0.0.41

0.0.41 #36

Workflow file for this run

name: NPM Publish
on:
release:
types: [created]
jobs:
publish:
name: Publish Package
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
fail-fast: false
matrix:
package:
- 'app-server-sdk'
- 'app-server-sdk-cloudflare'
- 'app-server-sdk-express'
- 'app-server-sdk-hono'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Transform to NPM Package
run: |
cd packages/${{ matrix.package }}
deno run -A scripts/build.ts ${{ github.event.release.tag_name }}
- name: Publish to NPM
run: |
cd packages/${{ matrix.package }}/npm
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}