File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 format :
10- if : ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
10+ if : ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
1111 permissions :
1212 contents : write
1313 runs-on : ubuntu-latest
1919 with :
2020 node-version : 20.x
2121 - run : |
22- npm install
22+ npm ci --legacy-peer-deps
2323 npm run lint:fix
2424 - run : |
2525 git config user.name AdyenAutomationBot
Original file line number Diff line number Diff line change 3232 restore-keys : |
3333 ${{ runner.os }}-node-
3434 - name : Install dependencies
35- run : npm install
35+ run : npm ci --legacy-peer-deps
3636 - name : Lint code
3737 run : npm run lint:fix && npm run lint
3838
5858 restore-keys : |
5959 ${{ runner.os }}-node-
6060 - name : Install dependencies
61- run : npm install
61+ run : npm ci --legacy-peer-deps
6262 - name : Run tests with coverage
6363 run : npm run test:coverage
Original file line number Diff line number Diff line change 1919 with :
2020 node-version : ' 18.x'
2121 - name : Install dependencies
22- run : yarn install --frozen-lockfile
22+ run : npm ci --legacy-peer-deps
2323 - name : Build package
2424 run : npm run build
2525 - name : Run tests
5151 run : npm publish
5252 env :
5353 NODE_AUTH_TOKEN : ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
54-
Original file line number Diff line number Diff line change 2525 cache : ' npm'
2626
2727 - name : Install dependencies
28- run : npm install
28+ run : npm ci --legacy-peer-deps
2929
3030 - name : Run tests with coverage
3131 run : npm run test:coverage
Original file line number Diff line number Diff line change @@ -13,5 +13,4 @@ node_modules
1313coverage /
1414.env
1515lib /
16- build /
17- package-lock.json
16+ build /
You can’t perform that action at this time.
0 commit comments