Skip to content

Next Pokemon button not working as intended #73

Next Pokemon button not working as intended

Next Pokemon button not working as intended #73

Workflow file for this run

name: Deployment pipeline
on:
push:
branches:
- master
pull_request:
branches: [master]
types: [opened, synchronize]
jobs:
simple_deployment_pipeline:
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
- name: Check style
run: npm run eslint
- name: Run unit tests
run: npm run test
- name: Build project
run: npm run build
- name: Run e2e tests
uses: cypress-io/github-action@v5
with:
command: npm run test:e2e
start: npm run start-prod
wait-on: http://localhost:5000
- name: Deploy to production
if: ${{ github.event_name == 'push' }}
run: curl https://api.render.com/deploy/srv-${{ secrets.RENDER_SERVICE_ID }}?key=${{ secrets.RENDER_API_KEY }}
tag_release:
needs: [simple_deployment_pipeline]
runs-on: ubuntu-20.04
env:
COMMIT_MESSAGES: ${{ toJson(github.event.commits.*.message) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Bump version and push tag
run: echo "$COMMIT_MESSAGES"
if: ${{ github.event_name == 'push' && !contains(env.COMMIT_MESSAGES[0], '#skip') }}
uses: anothrNick/[email protected]