Skip to content

Commit

Permalink
Use npm pack in npm-test workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Nov 22, 2021
1 parent e352926 commit 09ddcab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 34 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ jobs:
- name: Install dependencies & build
run: |
npm ci
cd tests
npm pack
cd test
npm ci
version=$(cat ../package.json | jq --raw-output .version)
npm install -D ../nextcloud-webpack-vue-config-$version.tgz
npm run dev
npm run build
34 changes: 4 additions & 30 deletions tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.2.0",
"@nextcloud/eslint-config": "^6.1.0",
"@nextcloud/stylelint-config": "^2.0.1",
"@nextcloud/webpack-vue-config": "file:.."
"@nextcloud/stylelint-config": "^2.0.1"
}
}
}

0 comments on commit 09ddcab

Please sign in to comment.