Skip to content

fix: switch to OICD #228

fix: switch to OICD

fix: switch to OICD #228

Workflow file for this run

name: "Release"
on:
schedule:
- cron: "0 0 * * 2,4"
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Build package
run: yarn build
- name: Generate types
run: yarn generate:types
- name: Semantic release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release