Skip to content

Develop #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Name of workflow
name: Lint and Test workflow

# Trigger workflow on all pull requests
on:
pull_request:
branches:
- develop
- staging
- main

# Jobs to carry out
jobs:
test:
# Operating system to run job on
runs-on: ubuntu-latest

# Steps in job
steps:
# Get code from repo
- name: Checkout code
uses: actions/checkout@v1

- name: Use Node.js 21.x
uses: actions/setup-node@v1
with:
node-version: 21.x

# Install dependencies
- name: 🧰 Install Deps
run: npm install

# Run lint
- name: Run Lint
run: npm run lint

# Run build
- name: Run Build
run: npm run build

# Run tests
- name: Run Tests
run: npm run test

Loading