File tree Expand file tree Collapse file tree 5 files changed +47
-12
lines changed Expand file tree Collapse file tree 5 files changed +47
-12
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- pull_request :
8- workflow_dispatch :
7+ pull_request :
8+ workflow_dispatch :
99
1010jobs :
1111 cypress-run :
12- runs-on : ubuntu-22.04
12+ runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11name : Publish GitHub pages
22
33on :
4- push :
5- pull_request :
6- workflow_dispatch :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
77
88permissions :
99 contents : read
Original file line number Diff line number Diff line change 1+ name : Publish Package to NPM
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Setup .npmrc file to publish to npm
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : 18
18+ cache : npm
19+ registry-url : ' https://registry.npmjs.org'
20+
21+ - id : get_version
22+ uses : battila7/get-version-action@v2
23+
24+ - run : npm --no-git-tag-version version ${{ steps.get_version.outputs.version-without-v }}
25+
26+ - name : Install dependencies
27+ run : npm ci
28+
29+ - name : Build
30+ run : npm run build
31+
32+ - name : Publish the package with public visibility
33+ run : npm publish --access public
34+ env :
35+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Continuous tests
22
33on :
44 push :
5- pull_request :
6- workflow_dispatch :
5+ pull_request :
6+ workflow_dispatch :
77
88concurrency :
99 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Original file line number Diff line number Diff line change 22
33All notable changes to ` vue-draggable-resizable ` will be documented in this file
44
5- ## 3.0.0 - ?
6- - Migrates to vue 3
5+ ## 3.0.0 - 2024-01-14
6+ - Migrates to Vue 3
77- Updates all packages
8- - Adds vitest instead of mocha and karma for testing
9- - Adds vite instead of webpack
8+ - Adds Vitest instead of Mocha and Karma for testing
9+ - Adds Vite instead of Webpack
1010- Adds Cypress to component-test the package in real browsers
1111- Fix ` drag-stop ` and ` resize-stop ` events
1212- And minor changes
You can’t perform that action at this time.
0 commit comments