Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup TS integration test #2651

Merged
merged 1 commit into from Jun 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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