forked from smartlyio/full-stack-open-pokedex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Deployment pipeline | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
# note that your "main" branch might be called main instead of master | ||
|
||
jobs: | ||
simple_deployment_pipeline: | ||
runs-on: ubuntu-20.04 #used virtual environment | ||
|
||
steps: | ||
- uses: actions/checkout@v3 #checkout code frmon the repository | ||
|
||
- uses: actions/setup-node@v3 | ||
with: #setup nodejs to use | ||
node-version: "16" | ||
|
||
- name: Install dependencies #install application dependencies | ||
run: npm install | ||
|
||
- name: Check style | ||
run: npm run eslint |