1
0
Fork 0
mirror of https://github.com/MillironX/docker-names.git synced 2024-11-21 08:16:03 +00:00

Adding actions to ensure tests pass (#13)

* Adding actions to ensure tests pass
This commit is contained in:
declanshanaghy 2021-05-11 09:52:11 -07:00 committed by GitHub
parent d19187e066
commit e08c53d99c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5934 additions and 3 deletions

17
.github/workflows/all.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Default actions for all branches
on: [push]
jobs:
Unit-Test:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Install packages
run: npm ci
- name: Run unit tests
run: npm run test
- run: echo "🍏 This job's status is ${{ job.status }}."

5918
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -18,4 +18,4 @@ describe('Docker names', () => {
expect(right).toContain(parts[1]);
expect(parseInt(parts[2])).toBeGreaterThan(0);
})
})
})