This repository has been archived by the owner on Apr 13, 2024. It is now read-only.
Add presentation content (#25) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
setup-node: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.10.0' | |
- name: Library | |
run: | | |
cd library | |
npm cache clean --force | |
npm ci | |
npm run test | |
npm run build | |
npm pack | |
- name: cli | |
run: | | |
cd cli | |
npm cache clean --force | |
npm uninstall blingbank-lib | |
npm install --force | |
npm i ../library/blingbank-lib-1.0.0.tgz | |
npm run build |