Skip to content

add website deployer for v26 (#126) #58

add website deployer for v26 (#126)

add website deployer for v26 (#126) #58

name: smart-contracts CD dev
on:
push:
branches:
- main
defaults:
run:
working-directory: smart-contracts
jobs:
test:
uses: ./.github/workflows/smart-contracts-ci.yml
publish-dev:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org
- name: publish
run: |
npm ci
npm run build
./scripts/publish-dev.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}