Skip to content

Commit

Permalink
Updated workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardassassin committed Jul 6, 2024
1 parent 1aa5d6c commit 0ae9622
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/run-solutions.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
name: Run Solutions

on: [push]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
run-javascript:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: 22
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run Code
run: node . run
- name: Validate Code
run: node . validate
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: data.json

0 comments on commit 0ae9622

Please sign in to comment.