Skip to content

testing rules Feature2 #65

testing rules Feature2

testing rules Feature2 #65

Workflow file for this run

name: Pokedex
on:
push:
branches:
- main
- test
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
simple_deployment_pipeline:

Check failure on line 13 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install Dependencies
run: npm install --force
- name: Code Linting (with Fix)
run: npm run eslint -- --fix
- name: Build
run: npm run build
- name: Run Tests
run: npm test
tag_release:
if: ${{ github.event_name == 'push' && (!contains(toJSON(github.event.head_commit.message), '#skip')) }}
needs: [simple_deployment_pipeline]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Bump version and push tag
uses: anothrNick/github-tag-action@f7a8973e934fdd1f4fb3483d0a04d8c589df9d65
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
WITH_V: true