Skip to content

feat: adding canonical_url information (#106) #35

feat: adding canonical_url information (#106)

feat: adding canonical_url information (#106) #35

Workflow file for this run

name: release
on:
push:
branches:
- "master"
tags-ignore:
- "*.*.*"
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
node: ["lts/-1", "lts/*", "current"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm test
release:
name: release
if: github.ref == 'refs/heads/master'
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm ci
- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release