Skip to content

Commit

Permalink
rm dup CI keys
Browse files Browse the repository at this point in the history
  • Loading branch information
RensR committed Apr 8, 2024
1 parent 80fc4dd commit e4f7808
Showing 1 changed file with 1 addition and 64 deletions.
65 changes: 1 addition & 64 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,67 +289,4 @@ jobs:
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: Publish Prod NPM
continue-on-error: true

publish-beta:
needs: [initialize, changes, native-compile, lint, prettier]
name: Publish Beta NPM
runs-on: ubuntu-latest
if: needs.initialize.outputs.is-pre-release == 'true'
steps:
- name: Checkout the repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Setup NodeJS
uses: ./.github/actions/setup-nodejs
- name: Configure npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
- name: Publish Beta
run: pnpm publish-beta --publish-branch "${GITHUB_REF_NAME}" --no-git-checks
working-directory: contracts
- name: Collect Metrics
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@0281b09807758be1dcc41651e44e62b353808c47 # v2.1.0
with:
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: Publish-Beta
continue-on-error: true

publish-prod:
needs: [initialize, changes, native-compile, lint, prettier]
name: Publish Prod NPM
runs-on: ubuntu-latest
if: needs.initialize.outputs.is-release == 'true'
steps:
- name: Checkout the repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Setup NodeJS
uses: ./.github/actions/setup-nodejs
- name: Create GitHub Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
with:
tag_name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
- name: Publish Prod
run: pnpm publish-prod --publish-branch "${GITHUB_REF_NAME}" --no-git-checks
working-directory: contracts
- name: Collect Metrics
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@0281b09807758be1dcc41651e44e62b353808c47 # v2.1.0
with:
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: Publish-Prod
continue-on-error: true
continue-on-error: true

0 comments on commit e4f7808

Please sign in to comment.