Add deploy-lib workflow
Some checks failed
Deploy Lib / docker (ubuntu-latest, 2.44.0, 20.x) (push) Has been cancelled
Some checks failed
Deploy Lib / docker (ubuntu-latest, 2.44.0, 20.x) (push) Has been cancelled
This commit is contained in:
parent
13c0a76e97
commit
d45b26fe09
35
.gitea/workflows/deploy-lib.yml
Normal file
35
.gitea/workflows/deploy-lib.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: Deploy Lib
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["master"]
|
||||||
|
paths: ["Lib/**"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: ["ubuntu-latest"]
|
||||||
|
git-version: ["2.44.0"]
|
||||||
|
node-version: ["20.x"]
|
||||||
|
runs-on: ${{ matrix.arch }}
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./Lib
|
||||||
|
|
||||||
|
# Steps to run
|
||||||
|
steps:
|
||||||
|
# Checkout the repo
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Setup NodeJS
|
||||||
|
- name: Setup NodeJS
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Publish to NPM
|
||||||
|
run: npm publish
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
Loading…
Reference in New Issue
Block a user