From 3a5ad826176da8d36c323a3e0db6abb05fc43758 Mon Sep 17 00:00:00 2001 From: Andrii Kurdiumov Date: Tue, 10 May 2022 18:01:46 +0600 Subject: [PATCH] Switch tests to TypeScript (#158) * Switch tests to TypeScript * Set default branch for build --- .github/workflows/npm.yaml | 4 ++-- test/{crud-test.js => crud-test.ts} | 0 test/{helpers-test.js => helpers-test.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename test/{crud-test.js => crud-test.ts} (100%) rename test/{helpers-test.js => helpers-test.ts} (100%) diff --git a/.github/workflows/npm.yaml b/.github/workflows/npm.yaml index 710a577..78f1e7b 100644 --- a/.github/workflows/npm.yaml +++ b/.github/workflows/npm.yaml @@ -1,9 +1,9 @@ name: CI validation on: push: - branches: [ $default-branch ] + branches: [ 'master' ] pull_request: - branches: [ $default-branch ] + branches: [ 'master' ] jobs: build: diff --git a/test/crud-test.js b/test/crud-test.ts similarity index 100% rename from test/crud-test.js rename to test/crud-test.ts diff --git a/test/helpers-test.js b/test/helpers-test.ts similarity index 100% rename from test/helpers-test.js rename to test/helpers-test.ts