Skip to content

1.0.0

1.0.0 #8

Workflow file for this run

name: publish
on:
push:
tags:
- "*"
jobs:
release:
name: check version, and release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node
uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- name: Install Packages
run: npm install
- name: test
run: npm run test
- name: check can npm-publish
run: npx can-npm-publish
- name: release
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: make alias package
run: npm run make-alias-package
- name: check can npm-publish alias
run: |+
cd ./alias-package
npx can-npm-publish
- name: release alias
run: |+
cd ./alias-package
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}