Skip to content

Release 0.0.11

Release 0.0.11 #15

Workflow file for this run

name: Publish package to GitHub Packages
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
- run: npm ci
- run: npm run lint
# we build the archive before running the template test build, to avoid packaging build artifacts
- run: npm run build
# when verifying the template, we need access to the private Restate TypeScript/Node SDK package
- run: npm run build-templates
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGE_READ_ACCESS }}
- run: npm publish
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}