mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-06-20 04:48:30 -06:00
PR-640209: Updating packages.
This commit is contained in:
10
.github/workflows/main-workflow.yml
vendored
10
.github/workflows/main-workflow.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
node-version: 16
|
||||
cache: 'npm'
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci --legacy-peer-deps
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
|
||||
# Job to run Cypress component tests
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Install dependencies
|
||||
run: npm ci --legacy-peer-deps
|
||||
run: npm ci
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v6 # use the explicit version number
|
||||
with:
|
||||
@ -56,7 +56,7 @@ jobs:
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Install dependencies
|
||||
run: npm ci --legacy-peer-deps
|
||||
run: npm ci
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v6 # use the explicit version number
|
||||
with:
|
||||
@ -75,7 +75,7 @@ jobs:
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci --legacy-peer-deps
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
# Job to publish the package to NPM
|
||||
@ -89,7 +89,7 @@ jobs:
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci --legacy-peer-deps
|
||||
- run: npm ci
|
||||
- run: npm publish --access=public
|
||||
env:
|
||||
NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}
|
Reference in New Issue
Block a user