Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from zmillman/check-action
Browse files Browse the repository at this point in the history
Add configuration for check action
  • Loading branch information
zmillman authored May 3, 2024
2 parents 5421371 + 414f52d commit c1eb37e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check

on:
push:
branches:
- main # assumes GitHub default branch name
pull_request:
workflow_dispatch:

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "node_version=$(cat .github/nodejs.version)" >> $GITHUB_ENV
- name: "use node ${{ env.node_version }}"
uses: actions/setup-node@v3
with:
node-version: "${{ env.node_version }}"
- name: Install dependencies
run: npm install --frozen-lockfile
- name: Lint check
run: npm run lint
- name: Format check
run: npm run prettier
- name: Unit & Integration tests
run: npm run test
File renamed without changes.

0 comments on commit c1eb37e

Please sign in to comment.