chore(release): update release 7.3.4 (#1165) #94
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: Stencil CLI Release | |
on: | |
push: | |
branches: [master, main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: npm i | |
- name: Check Git Commit name | |
run: git log -1 --pretty=format:"%s" | npx commitlint | |
# Setup .npmrc file to publish to npm registry | |
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc | |
- name: Deploy to npm and git | |
run: npm config list && npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GA_USERNAME: ${{ secrets.PAT_USERNAME }} | |
GA_TOKEN: ${{ secrets.PAT_TOKEN }} |