Skip to content

build: ensure node cache key is a string #26

build: ensure node cache key is a string

build: ensure node cache key is a string #26

Workflow file for this run

name: Release
on:
push:
branches:
- main
- alpha
- beta
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Install Node.js
with:
node-version: 16
cache: 'pnpm'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8.6.7
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint our source code
run: pnpm lint
- name: Build
run: pnpm build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HUSKY: '0'
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm semantic-release