Skip to content

Commit

Permalink
Merge pull request #1 from manojkrishnak/manojkrishnak-patch-1
Browse files Browse the repository at this point in the history
Create main.yml
  • Loading branch information
manojkrishnak authored Oct 10, 2022
2 parents 32fdb75 + 12ca154 commit e853dcf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
pull_request:
branches: 'master'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
- run: npm install
- run: npm run build
- run: rm -rf .next

0 comments on commit e853dcf

Please sign in to comment.