fix : workflow #8
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: Node.js CI | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
jobs: | ||
bulletproof-api-test-2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run unit tests | ||
run: npm test unit | ||
- name: Merge to main | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "KNU-K" | ||
git merge --no-ff $GITHUB_SHA | ||
git push origin main | ||
env: | ||
SUPER_TOKEN: ${{secret.SUPER_TOKEN}} | ||
Check failure on line 29 in .github/workflows/ci.yml
|