Skip to content

Commit

Permalink
Create blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhannigan authored Jul 27, 2024
1 parent c97b45f commit a6872dd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test PUSH action
on: push
jobs:
test:
runs-on: ubuntu-latest #nodejs preinstalled on the ubuntu runner
steps:
#action needs specific access to download the code from the repository onto this runner or this server
- name: Get code
uses: actions/checkout@v4
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci #npm ci is best practice over npm i
- name: Run tests
run: npm test

0 comments on commit a6872dd

Please sign in to comment.