Skip to content

Commit

Permalink
chore: release v2.0.0-beta.16
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Mar 24, 2022
1 parent 978c396 commit 65c2011
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 28 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci-main
name: Test package

on:
push:
Expand Down Expand Up @@ -27,13 +27,14 @@ jobs:
- name: Install PNPM
uses: pnpm/[email protected]
with:
version: 6.23.5
version: 6.24.3

- name: Setup Node v16
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: "pnpm"

- name: Install dependencies
run: pnpm install
Expand All @@ -46,21 +47,3 @@ jobs:

- name: Build project
run: pnpm build

- name: Version check
id: check
uses: EndBug/version-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

- run: npx conventional-github-releaser -p angular
continue-on-error: true
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Release
if: github.event_name == 'push' && steps.check.outputs.changed == 'true'
run: pnpm run publish:ci
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_OPTIONS: '--max-old-space-size=6144'
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Publish Package

on:
push:
tags:
- v*

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 6.24.3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- run: npx conventional-github-releaser -p angular
continue-on-error: true
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}

- run: pnpm run publish:ci
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_OPTIONS: '--max-old-space-size=6144'
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vueuse/motion",
"version": "2.0.0-beta.15",
"version": "2.0.0-beta.16",
"description": "🤹 Vue Composables putting your components in motion",
"repository": "https://github.com/vueuse/motion",
"bugs": {
Expand Down Expand Up @@ -65,9 +65,9 @@
"vue-demi": "*"
},
"peerDependencies": {
"@nuxt/kit": "npm:@nuxt/kit-edge@latest",
"@vue/composition-api": "^1.4.1",
"vue": "^2.0.0 || >=3.0.0-rc.0",
"@nuxt/kit": "npm:@nuxt/kit-edge@latest"
"vue": "^2.0.0 || >=3.0.0-rc.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
Expand All @@ -77,18 +77,19 @@
"devDependencies": {
"@antfu/eslint-config": "^0.18.9",
"@nuxt/module-builder": "latest",
"nuxt3": "latest",
"@types/prismjs": "^1.26.0",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/server-renderer": "^3.2.31",
"@vue/test-utils": "^2.0.0-rc.17",
"@vuedx/typecheck": "^0.7.4",
"@vuedx/typescript-plugin-vue": "^0.7.4",
"bumpp": "^7.1.1",
"c8": "^7.11.0",
"chokidar": "^3.5.3",
"eslint": "^8.11.0",
"happy-dom": "^2.50.0",
"lint-staged": "^12.3.7",
"nuxt3": "latest",
"prism-theme-vars": "^0.2.2",
"prismjs": "^1.27.0",
"typescript": "^4.6.2",
Expand Down
79 changes: 78 additions & 1 deletion pnpm-lock.yaml

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

0 comments on commit 65c2011

Please sign in to comment.