Skip to content

Commit

Permalink
Cleanup TS integration test (#2651)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 13, 2020
1 parent 61fc052 commit d1d476c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 98 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -50,14 +50,8 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}

- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
# We install bunch of packages during integration tests without locking them
# so we skip cache action to not pollute cache for other jobs.
- name: Install Dependencies
run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion integrationTests/integration-test.js
Expand Up @@ -24,7 +24,7 @@ describe('Integration Tests', () => {
exec(`cp -R ${path.join(__dirname, 'ts')} ${tmpDir}`);

const cwd = path.join(tmpDir, 'ts');
exec('npm ci', { cwd });
exec('npm i', { cwd });
exec('npm test', { cwd });
}).timeout(40000);
});
85 changes: 0 additions & 85 deletions integrationTests/ts/package-lock.json

This file was deleted.

5 changes: 1 addition & 4 deletions integrationTests/ts/package.json
@@ -1,12 +1,9 @@
{
"version": "1.0.0",
"scripts": {
"test": "node test.js",
"test-3.8": "tsc test.ts",
"test-3.9": "tsc test.ts"
"test": "node test.js"
},
"dependencies": {
"@types/node": "10.12.21",
"graphql": "file:../../npmDist",
"typescript-2.6": "npm:typescript@2.6.x",
"typescript-2.7": "npm:typescript@2.7.x",
Expand Down

0 comments on commit d1d476c

Please sign in to comment.