|
28 | 28 | - '6' |
29 | 29 | - '4' |
30 | 30 | - '0.12' |
31 | | - - '0.10' |
| 31 | + # - '0.10' |
32 | 32 | steps: |
33 | 33 | # checkout code |
34 | 34 | - uses: actions/checkout@v2 |
|
49 | 49 | # restore-keys: npm-cache-${{ matrix.os }} ${{ matrix.node }}- |
50 | 50 | - run: npm install |
51 | 51 |
|
52 | | - # # install version to test against |
53 | | - # - name: Use Node.js ${{ matrix.node }} |
54 | | - # uses: actions/setup-node@v1 |
55 | | - # with: |
56 | | - # node-version: ${{ matrix.node }} |
57 | | - |
58 | 52 | # Run tests |
59 | 53 | - run: npm test |
60 | | - |
61 | | - # test: |
62 | | - # needs: build |
63 | | - # name: "Test: ${{ matrix.os }}, node ${{ matrix.node }}" |
64 | | - # runs-on: ${{ matrix.os }}-latest |
65 | | - # strategy: |
66 | | - # fail-fast: false |
67 | | - # matrix: |
68 | | - # os: [ubuntu, windows] |
69 | | - # node: |
70 | | - # - 16 |
71 | | - # - 14 |
72 | | - # - 12 |
73 | | - # - 10 |
74 | | - # - 9 |
75 | | - # - '8' |
76 | | - # - '7' |
77 | | - # - '6' |
78 | | - # - '4' |
79 | | - # - '0.12' |
80 | | - # - '0.10' |
81 | | - # steps: |
82 | | - # # checkout code |
83 | | - # - uses: actions/checkout@v2 |
84 | | - # # install node |
85 | | - # - name: Use Node.js ${{ matrix.node }} |
86 | | - # uses: actions/setup-node@v1 |
87 | | - # with: |
88 | | - # node-version: ${{ matrix.node }} |
89 | | - # # lint, build, test |
90 | | - # # Downgrade from npm 7 to 6 because 7 still seems buggy to me |
91 | | - # - if: ${{ matrix.downgradeNpm }} |
92 | | - # run: npm install -g npm@6 |
93 | | - # - run: | |
94 | | - # npm config set cache "$( node -p "process.cwd()" )/temp/npm-cache" |
95 | | - # - name: Cache dependencies |
96 | | - # uses: actions/cache@v2 |
97 | | - # with: |
98 | | - # path: temp/npm-cache |
99 | | - # key: npm-cache-${{ matrix.os }}-${{ hashFiles('package-lock.json') }} |
100 | | - # restore-keys: npm-cache-${{matrix.os }}- |
101 | | - # - run: npm ci --ignore-scripts |
102 | | - # - name: Upload npm logs |
103 | | - # if: ${{ failure() }} |
104 | | - # uses: actions/upload-artifact@v1 |
105 | | - # with: |
106 | | - # name: npm-logs |
107 | | - # path: temp/npm-cache/_logs |
108 | | - # - run: npm run build-tsc |
109 | | - # - name: Download package artifact |
110 | | - # uses: actions/download-artifact@v1 |
111 | | - # with: |
112 | | - # name: ts-node-packed.tgz |
113 | | - # path: tests/ |
114 | | - # - run: npm install typescript@${{ matrix.typescript }} --force |
115 | | - # - run: npm run test-cov |
116 | | - # - name: Upload npm logs |
117 | | - # if: ${{ failure() }} |
118 | | - # uses: actions/upload-artifact@v1 |
119 | | - # with: |
120 | | - # name: npm-logs-${{ matrix.os }}-node-${{ matrix.nodeFlag }}-typescript-${{ matrix.typescriptFlag }} |
121 | | - # path: temp/npm-cache/_logs |
122 | | - # - run: npm run coverage-report |
123 | | - # if: ${{ always() }} |
124 | | - # - name: Codecov |
125 | | - # if: ${{ always() }} |
126 | | - # uses: codecov/codecov-action@v1 |
127 | | - # with: |
128 | | - # flags: ${{ matrix.os }},node_${{ matrix.nodeFlag }},typescript_${{ matrix.typescriptFlag }} |
0 commit comments