Skip to content

Commit

Permalink
Moving to npm rather than yarn (#694)
Browse files Browse the repository at this point in the history
* moved to npm rather than yarn

* fixed actions package cacheing

* test fix
  • Loading branch information
therealryan authored Jan 22, 2024
1 parent bf3bfd7 commit 5dc6d6b
Show file tree
Hide file tree
Showing 8 changed files with 10,694 additions and 8,162 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '14.15.1'
cache: 'yarn'
cache-dependency-path: report/report-ng/yarn.lock
cache: 'npm'
cache-dependency-path: report/report-ng/package-lock.json

- name: Run mutation testing
run: mvn -B -Paggregate -Dnode=system test org.pitest:pitest-maven:mutationCoverage package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 16
cache: 'yarn'
cache-dependency-path: report/report-ng/yarn.lock
cache: 'npm'
cache-dependency-path: report/report-ng/package-lock.json

- name: Configure Git User
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '14.15.1'
cache: 'yarn'
cache-dependency-path: report/report-ng/yarn.lock
cache: 'npm'
cache-dependency-path: report/report-ng/package-lock.json

- name: Cache SonarCloud packages
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '14.15.1'
cache: 'yarn'
cache-dependency-path: report/report-ng/yarn.lock
cache: 'npm'
cache-dependency-path: report/report-ng/package-lock.json

- name: Build with Maven
run: mvn -B -Dnode=system package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ void chunkLoadingPath() throws Exception {
+ delta.getTarget().getLines().get( 0 ).length() )
.replaceAll( "\\d", "#" );

assertEquals( "f),[])),a.u=e=>(###===e?\"commo",
assertEquals( "d),[])),r.u=e=>(###===e?\"commo",
before, "raw resource runtime snippet" );
assertEquals( "f),[])),a.u=e=>\"res/\"+(###===e?\"commo",
assertEquals( "d),[])),r.u=e=>\"res/\"+(###===e?\"commo",
after, "written runtime snippet" );
}

Expand Down
Loading

0 comments on commit 5dc6d6b

Please sign in to comment.