Skip to content

Update README.md

Update README.md #463

Workflow file for this run

name: Test & Release
on: [push]
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [16]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: install & test
run: |
npm -v
node -v
npm i -g yarn
yarn
npm run bootstrap
npm run build-api && npm run build-cli
cd ./packages/api
npm run test
env:
CI: true
publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: |
npm -v
node -v
npm i -g yarn
yarn
npm run bootstrap
npm run build-api && npm run build-cli
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: packages/cli/binaries/@clobbr/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}