Skip to content

Commit

Permalink
Opam Dependency Submission
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Jun 28, 2022
1 parent 3a29925 commit 1749189
Show file tree
Hide file tree
Showing 14 changed files with 16,363 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
* text=auto
/analysis/*.js -diff linguist-generated
/analysis/*.txt -diff linguist-generated
/deploy-doc/*.js -diff linguist-generated
/deploy-doc/*.txt -diff linguist-generated
/dist/*.js -diff linguist-generated
/dist/*.txt -diff linguist-generated
/dist/post/*.js -diff linguist-generated
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@ jobs:
with:
node-version: 16.x

- name: Configure npm for the @github scope
uses: actions/setup-node@v3
with:
registry-url: https://npm.pkg.github.com
scope: "@github"

- name: Install npm packages
if: runner.os == 'Linux'
run: yarn --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ github.token }}

- name: Check formatting
if: runner.os == 'Linux'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
.eslintcache
.yarnrc
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/analysis/*
/deploy-doc/*
/dist/*
/lint-doc/*
Expand Down
241 changes: 241 additions & 0 deletions analysis/LICENSE.txt

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

14 changes: 14 additions & 0 deletions analysis/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Analysis
description: Calculates dependencies for a opam build-target and submits the list to the Dependency Submission API
author: Sora Morimoto
branding:
icon: package
color: orange
inputs:
token:
description: DO NOT SET THIS.
required: false
default: ${{ github.token }}
runs:
using: node16
main: index.js
Loading

0 comments on commit 1749189

Please sign in to comment.