Skip to content

Commit

Permalink
chore: add yarn test to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nwittstruck committed Apr 13, 2024
1 parent a3c540f commit 5bf6b7e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/on_push_branch_execute_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: frontend_on_push_branch_execute_ci_cd

on:
push:
branches: [main]
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
pull_request:
# Only branches and tags on the base are evaluated
branches: [main]

env:
NODE_VERSION: "20.12"

jobs:
runs-on: ubuntu-latest
yarn_test:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test

0 comments on commit 5bf6b7e

Please sign in to comment.