Skip to content

Commit 4322eff

Browse files
committed
make publish job considerably faster
1 parent 47c3809 commit 4322eff

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ jobs:
1010
# The type of runner that the job will run on
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [16.x]
16-
1713
# Steps represent a sequence of tasks that will be executed as part of the job
1814
steps:
1915
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -22,18 +18,16 @@ jobs:
2218
# pulls all commits (needed for lerna / semantic release to correctly version)
2319
fetch-depth: '0'
2420

25-
- name: Use Node.js ${{ matrix.node-version }}
21+
- name: Use Node.js 16.x
2622
uses: actions/setup-node@v2
2723
with:
28-
node-version: ${{ matrix.node-version }}
24+
node-version: 16.x
25+
cache: 'npm'
2926

3027
- run: npm -v
3128
- run: npm config set unsafe-perm true
3229
- run: npm ci
3330

34-
- run: sudo npx playwright install-deps
35-
- run: npm run test
36-
3731
- name: Authenticate with Registry
3832
run: |
3933
echo "@umbraco-ui:registry=https://registry.npmjs.org/" > .npmrc

0 commit comments

Comments
 (0)