We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49fc51 commit 8095e03Copy full SHA for 8095e03
.github/workflows/test.yml
@@ -140,3 +140,25 @@ jobs:
140
- name: Verify successful deployment
141
run: |
142
[ $(aws cloudformation describe-stacks --stack-name $STACK_NAME --endpoint-url http://localhost:4566 | jq '[ .Stacks[] | select(.StackStatus == "CREATE_COMPLETE") ] | length') -eq 1 ] || exit 1
143
+
144
+ unit-tests:
145
+ runs-on: ubuntu-latest
146
+ steps:
147
+ - uses: actions/checkout@v2
148
+ with:
149
+ path: repo
150
151
+ - name: Use Node.js ${{ inputs.node-version }}
152
+ uses: actions/setup-node@v2
153
154
+ node-version: ${{ inputs.node-version }}
155
156
+ - name: Install project
157
+ run: |
158
+ npm ci
159
160
+ - name: Run tests
161
162
+ npm run test
163
164
0 commit comments