Skip to content

Merge pull request #23 from ww-daniel-mora/feat/respect-aws-profile-env #56

Merge pull request #23 from ww-daniel-mora/feat/respect-aws-profile-env

Merge pull request #23 from ww-daniel-mora/feat/respect-aws-profile-env #56

Workflow file for this run

name: Publish Change
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ${{matrix.os}}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Git configuration
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
- name: Increment Patch version
run: npm version patch
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Commit package.json version changes
run: |
git add "package.json"
git push