Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Release

Release #12

Workflow file for this run

name: Release
on: workflow_dispatch
jobs:
release:
permissions: write-all
strategy:
fail-fast: false
matrix:
package:
- unexpected-realtime
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm i
- name: Build
run: |
npm run build
- name: Pack
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
run: |
npm run pack
- name: Publish
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
run: |
version="$(jq -r .version package.json)"
echo "Publishing ${{ matrix.package }}@$version"
npm run publish --access public
echo "npm: \`+ ${{ matrix.package }}@$version\`" >> $GITHUB_STEP_SUMMARY
Morty Proxy This is a proxified and sanitized view of the page, visit original site.