Skip to content
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

first commit #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
14 changes: 10 additions & 4 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
name: Node Continuous Integration

# ! which events to run
on:
pull_request:
branches: [ master ]


# ! list of jobs
jobs:
# ! job name
test_pull_request:
runs-on: ubuntu-latest
steps:
# ! checkout - bring the code from the repo to the runner
- uses: actions/checkout@v2
# ! setup node environment - since we are testing a node app
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
node-version: '18.0.0'
# ! we've setup node env, so we can directly run npm commands
# ! run npm ci - install dependencies
- run: npm ci # ! ci = clean install - no cache
- run: npm test
- run: npm run build