mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
chore: update ci jest
This commit is contained in:
parent
b1171f4de8
commit
a8d2dbed2f
1 changed files with 3 additions and 3 deletions
6
.github/workflows/e2e-jest-workflow.yml
vendored
6
.github/workflows/e2e-jest-workflow.yml
vendored
|
@ -38,17 +38,17 @@ jobs:
|
||||||
yarn add left-pad --registry http://localhost:4873 --verbose
|
yarn add left-pad --registry http://localhost:4873 --verbose
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
||||||
yarn jest module.test.js
|
yarn jest module.test.js
|
||||||
yarn2:
|
yarn-modern:
|
||||||
name: 'yarn2:jest example'
|
name: 'yarn2:jest example'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||||
|
|
||||||
- name: 'Use Node.js 16.x'
|
- name: 'Use Node.js 18.x'
|
||||||
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
|
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 18.x
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: 'Run verdaccio in the background'
|
- name: 'Run verdaccio in the background'
|
||||||
|
|
Loading…
Reference in a new issue