Skip to content

fix: compat with legacy micro module #1016

fix: compat with legacy micro module

fix: compat with legacy micro module #1016

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Set branch name
run: echo >>$GITHUB_ENV BRANCH_NAME=${GITHUB_REF#refs/heads/}
- name: Echo branch name
run: echo ${BRANCH_NAME}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- run: pnpm run setup
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run coverage
env:
CI: true
- run: pnpm run publish:packages
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}