Skip to content

Commit

Permalink
fix: updated node and npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kouts committed Jul 23, 2022
1 parent 794df7d commit 4cc9a46
Show file tree
Hide file tree
Showing 6 changed files with 48,545 additions and 11,873 deletions.
66 changes: 40 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,47 @@
name: Release
name: release-main

on:
push:
branches: [main, beta]
branches: [main]

jobs:
release:
name: Release
runs-on: ubuntu-latest
ci:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [16]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install dependencies
run: npx ci
- name: Install sematic-release extra plugins
run: npm install --save-dev @semantic-release/changelog @semantic-release/git
- name: Build
run: npm run build
- name: Lint
run: npm run lint-fix
- name: Test
run: npm run test:unit-coverage --if-present
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- name: Checkout 🛎
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true

- name: Install dependencies 📦
run: npm install

- name: Install semantic-release extra plugins 📦
run: npm install --save-dev @semantic-release/changelog @semantic-release/git

- name: Run linter 👀
run: npm run lint-fix

- name: Run tests 🧪
run: npm run test:unit-coverage --if-present

- name: Build
run: npm run build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
4 changes: 2 additions & 2 deletions docs/path-store-pinia-plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ PathStore Pinia Plugin is registered like any other Pinia plugin.
```js
// main.js
import Vue from 'vue'
import VueCompositionApi from '@vue/composition-api'
import VueCompositionApi from '@vue/composition-api' // Only needed for Vue < v2.7
import { PiniaVuePlugin, createPinia } from 'pinia'
import { pathStorePiniaPlugin } from './modules/path_store/pathStorePiniaPlugin'

Vue.use(VueCompositionApi)
Vue.use(VueCompositionApi) // Only needed for Vue < v2.7
Vue.use(PiniaVuePlugin)

const pinia = createPinia()
Expand Down
Loading

0 comments on commit 4cc9a46

Please sign in to comment.