diff --git a/.github/workflows/action-test.yml b/.github/workflows/action-test.yml deleted file mode 100644 index 5957b7e..0000000 --- a/.github/workflows/action-test.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: Run tests -on: [push, pull_request] -jobs: - call-test-workflow: - uses: ./.github/workflows/test-workflow.yml - with: - node-version: '18' diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/github-actions-test.yml similarity index 77% rename from .github/workflows/test-workflow.yml rename to .github/workflows/github-actions-test.yml index 06fc319..749f7b0 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/github-actions-test.yml @@ -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 @@ -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 @@ -30,4 +25,4 @@ jobs: - name: Format-check run: npm run format:check - name: Run tests - run: npm run test:unit \ No newline at end of file + run: npm run test:unit