Skip to content

chore: add linting to prevent #19 #39

chore: add linting to prevent #19

chore: add linting to prevent #19 #39

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
paths-ignore:
- "docs/**"
- "**/*.md"
jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
env:
API_KEY: ${{ secrets.API_KEY }}
API_URL: ${{ secrets.API_URL }}
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release