Skip to content

Switch to vitest & update deps (#73) #79

Switch to vitest & update deps (#73)

Switch to vitest & update deps (#73) #79

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
if: ${{ github.reposity_owner }} == 'Interactions-as-a-Service'
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js 16.17
uses: actions/setup-node@v3
with:
node-version: 16.17
- name: Install Dependencies
run: npm ci
- name: Check for formatting issues
run: npm run check:format
- name: Check for linting issues
run: npm run check:lint
- name: Run tests
run: npm run test
- name: Build
run: npm run build
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: node .github/changeset-version.cjs
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Add label
run: node ./.github/gh-label.cjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}