-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 857 Bytes
/
deploy.yml
File metadata and controls
37 lines (30 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch Tags
run: git fetch --prune --tags
- name: Configure CI Git User
run: |
git config --global user.name '@jpbbot'
git config --global user.email 'jpbbot@users.noreply.github.com'
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com/'
scope: '@jpbbots'
- name: Install Dependencies
run: npm i --also=dev
- name: Build Library
run: npm run build
- name: Publish Library
run: NODE_AUTH_TOKEN=${{secrets.GITHUB_TOKEN}} npx lerna publish --yes --no-changelog