v1.0.14 - Put client-kinesis back into peerDeps #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package and Publish | |
on: | |
release: | |
types: [published] | |
jobs: | |
install-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/configure-nodejs | |
with: | |
lookup-only: 'true' # We only want to lookup from the cache - if a hit, this job does nothing | |
build: | |
needs: | |
- install-deps | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/configure-nodejs | |
- name: Use the Release Tag Version | |
run: | | |
npm version from-git --allow-same-version --no-git-tag-version | |
- name: Build | |
run: npm run build | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
- name: NPM registry authentication | |
run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPMJSORG_PUBLISH_TOKEN }} | |
- name: Publish with CLI to Code Artifact | |
run: | | |
npm publish --access public --ignore-scripts |