Skip to content

Commit

Permalink
add notice and disable release action
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-willis committed Apr 29, 2024
1 parent 790c496 commit ae6ebb3
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 40 deletions.
77 changes: 40 additions & 37 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,46 +29,49 @@ jobs:
- name: Run build
run: yarn build

# NOTE: publishing is now performed internally, do not
# re-enable this job.

# Publishing is done in a separate job to allow
# for all matrix builds to complete.
release:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
strategy:
fail-fast: false
matrix:
node: [18]
# release:
# needs: test
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# strategy:
# fail-fast: false
# matrix:
# node: [18]

steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 18.x
# steps:
# - name: Setup Node
# uses: actions/setup-node@v1
# with:
# node-version: 18.x

- name: Check out repo
uses: actions/checkout@v2
with:
fetch-depth: 2
# - name: Check out repo
# uses: actions/checkout@v2
# with:
# fetch-depth: 2

# Fetch tags and describe the commit before the merge commit
# to see if it's a version publish
- name: Fetch tags
run: |
git fetch --tags
if git describe --exact-match --match "v*.*.*" HEAD^2
then
echo "Found version commit tag. Publishing."
echo "publish=true" >> $GITHUB_ENV
else
echo "Version commit tag not found. Not publishing."
fi
# # Fetch tags and describe the commit before the merge commit
# # to see if it's a version publish
# - name: Fetch tags
# run: |
# git fetch --tags
# if git describe --exact-match --match "v*.*.*" HEAD^2
# then
# echo "Found version commit tag. Publishing."
# echo "publish=true" >> $GITHUB_ENV
# else
# echo "Version commit tag not found. Not publishing."
# fi

- name: Publish
if: env.publish == 'true'
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
yarn
npm publish
# - name: Publish
# if: env.publish == 'true'
# env:
# NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
# run: |
# echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
# yarn
# npm publish
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
> NOTE - This repository is no longer actively maintained.
> Please refer to the [Data Model Documentation](https://docs.jupiterone.io/api/data-model/jupiterone-data-model) for the most up-to-date information.
# JupiterOne Graph Data Model

- [Data Model Guide](https://community.askj1.com/kb/articles/846-jupiterone-data-model)
- [Data Model Documentation](https://docs.jupiterone.io/api/data-model/jupiterone-data-model)

The **JupiterOne Graph Data Model** describes a set of common classifications
for data found in an organization's set of digital assets, as well as common
Expand Down
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae6ebb3

Please sign in to comment.