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