Skip to content

Commit

Permalink
Merge pull request #55 from nepalcodes/SansCaar/issue50
Browse files Browse the repository at this point in the history
Added Build.yaml and Lint.yaml files for pullrequest
  • Loading branch information
SansCaar authored Jul 5, 2024
2 parents 9079ebc + 1304724 commit c6c93b3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests

on:
push:
branches:
- '*'
jobs:
build:
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' # Use Node.js 16.x

- name: Install pnpm
run: npm install -g pnpm

- name: Changing Directory
run: cd nepalingo-web

- name: Install dependencies
run: pnpm install

- name: Lint code
run: pnpm run lint

- name: Test Build
run: pnpm run build

0 comments on commit c6c93b3

Please sign in to comment.