Skip to content

Commit

Permalink
fix: updates release action
Browse files Browse the repository at this point in the history
  • Loading branch information
amuramoto committed Jun 22, 2022
1 parent 7bdf017 commit 12159bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 82 deletions.
74 changes: 0 additions & 74 deletions .github/workflows/codeql.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- main
concurrency: release
jobs:
build:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
Expand All @@ -28,17 +28,13 @@ jobs:
uses: actions/checkout@v3
with:
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Test
run: |
npm ci
npm run lint
npm test
env:
GOOGLE_MAPS_API_KEY: ${{ secrets.SYNCED_GOOGLE_MAPS_API_KEY_SERVICES }}
- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
Expand All @@ -51,7 +47,10 @@ jobs:
@semantic-release/github
@semantic-release/npm
@googlemaps/semantic-release-config
semantic-release-npm-deprecate
env:
GH_TOKEN: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
NPM_TOKEN: ${{ secrets.NPM_WOMBAT_TOKEN }}
GIT_AUTHOR_NAME: googlemaps-bot
GIT_AUTHOR_EMAIL: googlemaps-bot@users.noreply.github.com
GIT_COMMITTER_NAME: googlemaps-bot
GIT_COMMITTER_EMAIL: googlemaps-bot@users.noreply.github.com

0 comments on commit 12159bd

Please sign in to comment.