Skip to content

Commit

Permalink
feat: version checking added to extension
Browse files Browse the repository at this point in the history
Version checking was removed from the library and added to the extension side for greater flexibility

WE2-605

Signed-off-by: Tanel Metsar <tanel.metsar@cgi.com>
  • Loading branch information
taneltm authored and mrts committed Dec 16, 2021
1 parent fcf8007 commit c44c4d9
Show file tree
Hide file tree
Showing 12 changed files with 8,105 additions and 1,621 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
export TOKEN_SIGNING_BACKWARDS_COMPATIBILITY=true
npm run clean build package
npm run test clean build package
- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand Down
10 changes: 10 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { pathsToModuleNameMapper } = require("ts-jest");
const { compilerOptions } = require("./tsconfig");

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: "<rootDir>/../" }),
};
Loading

0 comments on commit c44c4d9

Please sign in to comment.