Skip to content

Commit

Permalink
ci: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed May 17, 2022
1 parent 99bb2c9 commit d806a4e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Expand Up @@ -3,19 +3,21 @@ name: test
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3.1.1
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install
Expand All @@ -30,9 +32,9 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Release
if: ${{ github.ref == 'refs/heads/master' && !startsWith(github.event.head_commit.message, 'chore(release):') && !startsWith(github.event.head_commit.message, 'docs:') }}
shell: 'script -q -e -c "bash {0}"'
shell: 'script -q -e -c "bash {0}" > /dev/null'
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config --global user.email ${{ secrets.GIT_EMAIL }}
Expand Down

0 comments on commit d806a4e

Please sign in to comment.