Update dependency axios to v1.7.5 #302
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: Release Node.js Package | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
release-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Setup .npmrc file to publish to GitHub Packages | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm install | ||
- name: Update version in package.json, package-lock.json, and lib/version.ts | ||
run: | | ||
VERSION=${{ github.event.release.tag_name }} | ||
VERSION=${VERSION#v} | ||
sed -i "s/__LINE_BOT_SDK_NODEJS_VERSION__/$VERSION/g" package.json | ||
sed -i "s/__LINE_BOT_SDK_NODEJS_VERSION__/$VERSION/g" package-lock.json | ||
sed -i "s/__LINE_BOT_SDK_NODEJS_VERSION__/$VERSION/g" lib/version.ts | ||
- run: npm run release | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
deploy-docs: | ||
needs: [release-package] | ||
use: ./.github/workflows/deploy-doc.yml |