Skip to content

Commit 9b5821e

Browse files
atvaneksophia-buiMatteoDiterrachelk585
committed
Initial config of ghactions yaml
Co-authored-by: Sophia Bui <[email protected]> Co-authored-by: Matteo <[email protected]> Co-authored-by: rachelk585 <[email protected]>
1 parent 7da192e commit 9b5821e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: CI
66
on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
9-
branches: [ master ]
9+
branches: [ dev ]
1010
pull_request:
11-
branches: [ master ]
11+
branches: [ dev ]
1212

1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:
@@ -23,11 +23,11 @@ jobs:
2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2727

2828
# Runs a single command using the runners shell
29-
- name: Run a one-line script
30-
run: echo Hello, world!
29+
- name: Run all tests
30+
run: npm run test
3131

3232
# Runs a set of commands using the runners shell
3333
- name: Run a multi-line script

0 commit comments

Comments
 (0)