Skip to content

Merge pull request #11 from bhcbhc/feat/update-mapbox-v3 #31

Merge pull request #11 from bhcbhc/feat/update-mapbox-v3

Merge pull request #11 from bhcbhc/feat/update-mapbox-v3 #31

Workflow file for this run

name: Release
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Setup Node.js'
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Pnpm action
uses: pnpm/action-setup@v2
with:
version: latest
run_install: |
- recursive: true
args: [--no-frozen-lockfile]
- name: Build
run: pnpm build
- name: Release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}