mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 00:44:06 +00:00
Use graph-ts and graph-cli packages from gitea (#283)
* Use published packages from gitea * Remove token used for github packages
This commit is contained in:
@@ -25,11 +25,7 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Run yarn build
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
run: |
|
||||
yarn build
|
||||
- name: Configure git.vdb.to npm registry
|
||||
|
||||
@@ -19,11 +19,6 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn
|
||||
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages
|
||||
env:
|
||||
# GITHUB_TOKEN can't access packages from other private repositories.
|
||||
# https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Linter check
|
||||
run: yarn lint
|
||||
test:
|
||||
@@ -39,11 +34,7 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Run tests
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
run: |
|
||||
yarn build
|
||||
yarn test:init
|
||||
@@ -60,8 +51,6 @@ jobs:
|
||||
echo ::set-output name=repo::$(echo ${{ github.repository }})
|
||||
- name: Run docker build
|
||||
run: make docker-build
|
||||
env:
|
||||
NPM_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Tag docker image
|
||||
run: docker tag ${{steps.vars.outputs.repo}} ghcr.io/${{steps.vars.outputs.repo}}:${{steps.vars.outputs.sha}}
|
||||
- name: Docker Login
|
||||
|
||||
@@ -16,11 +16,6 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn
|
||||
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages
|
||||
env:
|
||||
# GITHUB_TOKEN can't access packages from other private repositories.
|
||||
# https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Linter check
|
||||
run: yarn lint
|
||||
test:
|
||||
@@ -36,11 +31,7 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Run tests
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
run: |
|
||||
yarn build
|
||||
yarn test:init
|
||||
@@ -53,5 +44,3 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run docker build
|
||||
run: make docker-build
|
||||
env:
|
||||
NPM_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
|
||||
@@ -37,11 +37,7 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
- name: Run yarn build
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
|
||||
run: |
|
||||
yarn build
|
||||
- name: Configure git.vdb.to npm registry
|
||||
|
||||
Reference in New Issue
Block a user