Skip to content

Commit

Permalink
chore(experimental): prepare for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
06kellyjac committed Dec 6, 2024
1 parent 326e9c3 commit 9862e1d
Show file tree
Hide file tree
Showing 7 changed files with 730 additions and 1,390 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/experimental-inventory-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: experimental-inventory - Publish to NPM
on:
push:
tags:
- 'license-inventory-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'

- run: npm ci
working-directory: ./experimental/license-inventory

- run: npm run build
working-directory: ./experimental/license-inventory

- run: npm publish --access=public
working-directory: ./experimental/license-inventory
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31 changes: 31 additions & 0 deletions experimental/license-inventory/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<br />
<div align="center">
<a href="https://github.com/finos/git-proxy">
<img src="../../docs/img/logo.png" alt="Logo" height="95">
</a>

<br />
<strong>git-proxy: license-inventory</strong>
<br />

<p align="center">
<strong>experimental</strong> project to provide license data and attach said license data to projects for fueling policy evaluation.
<br />
</p>

<br />

[![FINOS - Incubating](https://cdn.jsdelivr.net/gh/finos/contrib-toolbox@master/images/badge-incubating.svg)](https://community.finos.org/docs/governance/Software-Projects/stages/incubating)
[![NPM](https://img.shields.io/npm/v/@finos/git-proxy-license-inventory?colorA=00C586&colorB=000000)](https://www.npmjs.com/package/@finos/git-proxy-license-inventory)
[![Build](https://img.shields.io/github/actions/workflow/status/finos/git-proxy/experimental-inventory-ci.yml?branch=main&label=CI&logo=github&colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/actions/workflows/experimental-inventory-ci.yml)
[![git-proxy](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy/badge)](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy)
<br />
[![License](https://img.shields.io/github/license/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/blob/main/LICENSE)
[![Slack](https://img.shields.io/badge/_-Chat_on_Slack-000000.svg?logo=slack&colorA=00C586)](https://app.slack.com/client/T01E7QRQH97/C06LXNW0W76)

</div>
<br />

This is an **experimental** project to provide license data and attach said license data to projects for fueling policy evaluation.

Please consider all REST API paths, inputs, and outputs in flux during `v0`. Additionally do not rely import paths to be stable.
Loading

0 comments on commit 9862e1d

Please sign in to comment.