Skip to content

Update readme.md

Update readme.md #30

name: publish package to registry
on:
push:
branches:
- dipper
jobs:
release:
runs-on: ubuntu-latest
steps:
- run: git config --global core.symlinks false
shell: bash
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y git make jq curl wget
- name: install s
run: |
npm i @serverless-devs/s@v3 -g
- name: s registry login
run: |
s registry login --token ${{ secrets.alibaba_registry_v3_publish_token }}
- name: release prod
run: |
s registry publish