update name config #13
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: npm-updated | |
on: | |
push: | |
branches: | |
- release/v0.2.1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Setup Node 🔧 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
registry-url: 'https://registry.npmjs.org' | |
- name: Set up Git | |
run: | | |
git config --global user.email "vi.tran@navercorp.com" | |
git config --global user.name "Alice Tran" | |
- run: npm install | |
- run: npm run style | |
- run: npm run build | |
- run: npm publish --tag latest --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |