-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79921f7
commit e51ae3f
Showing
3 changed files
with
11,333 additions
and
2,712 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: π publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
release: | ||
name: π publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: πΎ caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: π’οΈ checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: π€ node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
|
||
- name: π€ install dependencies | ||
run: npm ci | ||
|
||
- name: π publish | ||
run: npm run semantic-release | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_AUTHOR_NAME: "regrapes-bot" | ||
GIT_AUTHOR_EMAIL: "system@regrapes.dev" | ||
GIT_COMMITTER_NAME: "regrapes-bot" | ||
GIT_COMMITTER_EMAIL: "system@regrapes.dev" |
Oops, something went wrong.