Skip to content

Commit

Permalink
Revert "refactor test workflow to be reusable"
Browse files Browse the repository at this point in the history
This reverts commit d09af53.
  • Loading branch information
htrinter committed Nov 26, 2023
1 parent d09af53 commit 6568e92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/action-test.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Test Workflow
on:
workflow_call:
inputs:
node-version:
required: true
type: string
name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -13,7 +8,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ inputs.node-version }}
node-version: '18'
- name: Cache dependencies
id: cache
uses: actions/cache@v2
Expand All @@ -30,4 +25,4 @@ jobs:
- name: Format-check
run: npm run format:check
- name: Run tests
run: npm run test:unit
run: npm run test:unit

0 comments on commit 6568e92

Please sign in to comment.