4646 node-version : ${{ matrix.node-version }}
4747 - uses : bahmutov/npm-install@v1
4848 with :
49+ install-command : yarn --frozen-lockfile --silent
4950 working-directory : ./
50- - name : Run Yarn lint
51+ - name : Run lint
5152 run : CI=true yarn lint
5253 working-directory : ./
5354 publish-npm :
6162 - uses : actions/setup-node@v4
6263 with :
6364 node-version : 18
64- - run : npm install
65- - run : npm test
65+ - uses : bahmutov/npm-install@v1
66+ with :
67+ install-command : yarn --frozen-lockfile --silent
68+ working-directory : ./
69+ - run : yarn test
6670 - uses : battila7/get-version-action@v2
6771 - uses : JS-DevTools/npm-publish@v3
6872 with :
@@ -86,17 +90,18 @@ jobs:
8690 - uses : actions/setup-node@v4
8791 with :
8892 node-version : ${{ matrix.node-version }}
89- - run : npm install
9093 - uses : bahmutov/npm-install@v1
9194 with :
95+ install-command : yarn --frozen-lockfile --silent
9296 working-directory : ./
9397 - name : Run build
9498 run : yarn build-js-client
9599 working-directory : ./
96100 - uses : bahmutov/npm-install@v1
97101 with :
102+ install-command : yarn --frozen-lockfile --silent
98103 working-directory : ./js-dist
99- - name : Run Yarn tests
104+ - name : Run tests
100105 run : CI=true yarn only-run-tests
101106 working-directory : ./js-dist
102107 - uses : actions/upload-artifact@v4
@@ -118,7 +123,10 @@ jobs:
118123 - uses : actions/setup-node@v4
119124 with :
120125 node-version : 18
121- - run : npm install
126+ - uses : bahmutov/npm-install@v1
127+ with :
128+ install-command : yarn --frozen-lockfile --silent
129+ working-directory : ./
122130 - uses : battila7/get-version-action@v2
123131 - uses : JS-DevTools/npm-publish@v3
124132 with :
0 commit comments