File tree Expand file tree Collapse file tree 5 files changed +3118
-3396
lines changed
Expand file tree Collapse file tree 5 files changed +3118
-3396
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 if : github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
1111 steps :
12- - name : Checkout code 🛎
12+ - name : Checkout 🛎️
1313 uses : actions/checkout@v2
1414 with :
1515 fetch-depth : 0
1616 ref : main
1717
18- - name : Setup node env 🏗
18+ - name : Setup node env 📦
1919 uses : actions/setup-node@v2.1.4
2020 with :
2121 node-version : 14
22- registry-url : ' https://npm.pkg.github.com'
22+ registry-url : https://npm.pkg.github.com/
2323 scope : ' @geospoc'
2424
25- - name : Install dependencies 👨🏻💻
26- run : npm ci
25+ - name : Install dependencies 🛠
26+ run : npm install
2727 env :
2828 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2929
30- - name : Release pkg to registry
30+ - name : Trigger a new release 🤖
3131 run : npx shipjs trigger
3232 env :
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34- NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
34+ NPM_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3536 SLACK_INCOMING_HOOK : ${{ secrets.SLACK_INCOMING_HOOK }}
Original file line number Diff line number Diff line change 11# v-mapbox-geocoder 🌎
22
3- [](https://github.com/geospoc/v-mapbox-geocoder/packages) [](https://github.com/geospoc/v-mapbox-geocoder/actions?query=workflow%3A%22Ship+js+trigger%22) [](https://github.com/geospoc/v-mapbox-geocoder/releases) [](https://github.com/algolia/shipjs) [](https://david-dm.org/geospoc/v-mapbox-geocoder?type=peer) [](http://david-dm.org/geospoc/v-mapbox-geocoder?type=dev) [](https://github.com/geospoc/v-mapbox-geocoder) [](https://github.com/geospoc/v-mapbox-geocoder/master)  [](https://github.com/geospoc/v-mapbox-geocoder/graphs/contributors) [](https://deepscan.io/dashboard#view=project&tid=9381&pid=11871&bid=177149)
3+ [](https://github.com/geospoc/v-mapbox-geocoder/packages) [](https://github.com/geospoc/v-mapbox-geocoder/actions?query=workflow%3A%22Ship+js+trigger%22) [](https://github.com/geospoc/v-mapbox-geocoder/releases) [](https://github.com/algolia/shipjs) [](https://david-dm.org/geospoc/v-mapbox-geocoder?type=peer) [](http://david-dm.org/geospoc/v-mapbox-geocoder?type=dev) [](https://github.com/geospoc/v-mapbox-geocoder) [](https://github.com/geospoc/v-mapbox-geocoder/master)  [](https://github.com/geospoc/v-mapbox-geocoder/graphs/contributors) [](https://deepscan.io/dashboard#view=project&tid=9381&pid=11871&bid=177149)
44
55[ v-mapbox] ( https://github.com/vinayakkulkarni/v-mapbox ) plugin for [ mapbox-gl-geocoder] ( https://github.com/mapbox/mapbox-gl-geocoder ) support.
66
7- ## Usage
7+ ## Setup
8+
9+
10+ First of all you need to install ` mapbox-gl-geocoder ` and ` v-mapbox ` . [ See v-mapbox doc] ( https://v-mapbox.netlify.app )
811
9- First of all you need to install Mapbox GL and v-mapbox. [ See v-mapbox doc] ( https://v-mapbox.netlify.app )
12+ > _ Generate a [ Personal Access Token] ( https://github.com/settings/tokens/new ) with ` read:packages ` scope_
13+
14+ ``` bash
15+ # Skip if you're logged in, else login to GPR using above generated PAT
16+ $ npm login --registry=https://npm.pkg.github.com --scope=@geospoc
1017
11- ``` bash
1218# Install mapbox-gl-geocoder v-mapbox and v-mapbox-geocoder:
13- $ npm i @mapbox/mapbox-gl-geocoder v-mapbox @geospoc/v-mapbox-geocoder
19+ $ npm install @mapbox/mapbox-gl-geocoder v-mapbox @geospoc/v-mapbox-geocoder --save
1420```
1521
16- Now you can add geocoder control like other controls:
22+ ## Usage
1723
1824``` html
1925<template >
You can’t perform that action at this time.
0 commit comments