Skip to content

Commit

Permalink
test release action
Browse files Browse the repository at this point in the history
  • Loading branch information
apinkert committed Jan 30, 2024
1 parent 75b6cf2 commit 15506ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .github/actions/release/action.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Release job
description: build affected packages and publish them to npm
inputs:
npm_token:
description: 'NPM token'
required: true
gh_token:
description: 'Github token'
required: true
Expand All @@ -29,11 +26,6 @@ runs:
- name: Build
shell: bash
run: npx nx run-many -t build
- name: Set publish config
env:
NPM_TOKEN: ${{ inputs.npm_token }}
shell: bash
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
- name: Version
shell: bash
env:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@ jobs:
release:
runs-on: ubuntu-latest
needs: [install, lint, test, build]
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: './.github/actions/release'
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
gh_actor: ${GITHUB_ACTOR}

0 comments on commit 15506ad

Please sign in to comment.