Skip to content

pull2001

pull2001 #19

Workflow file for this run

name: Pokedex
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- synchronize
jobs:
simple_deployment_pipeline:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Dependencies
run: npm install
- name: Code Linting (with Fix)
run: npm run eslint -- --fix
- name: Build
run: npm run build
- name: Run Tests
run: npm test
tag_release:
needs: [simple_deployment_pipeline]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
skip_commit:
if: ${{contains(github.event.head_commit.message, '#skip')}}
needs: [simple_deployment_pipeline]
runs-on: ubuntu-latest
steps:

Check failure on line 54 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 54
- name: Checkout code
uses: actions/checkout@v2
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
WITH_V: true