Create dependabot.yml (#62) #51
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: Changesets PR or Publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.6.10 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
node-version-file: '.nvmrc' | |
- run: pnpm install --frozen-lockfile | |
- name: Set git user | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Chung-il Jung" | |
- name: Create Changesets Pull Request or Publish to NPM | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
setupGitUser: false | |
title: 'chore: version packages' | |
commit: | | |
chore: version packages | |
Co-authored-by: Chung-il Jung <[email protected]> | |
Co-authored-by: Jonghyeon Ko <[email protected]> | |
version: pnpm changeset:version | |
publish: pnpm changeset:publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |