Skip to content

chore(deps): update dependency @types/jest to v29.5.6 #15

chore(deps): update dependency @types/jest to v29.5.6

chore(deps): update dependency @types/jest to v29.5.6 #15

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
NODE_VERSION: 16.x
jobs:
build:
name: 🛠️ Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Setup Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
test:
name: 🧪 Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Setup Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm ci
- name: Test
run: npm run test:ci
lint:
name: 🔗 Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Setup Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm ci
- name: Prettier check
run: npm run prettier-check
- name: Spellcheck
run: npm run spell-check
release:
name: 🚢 Release
runs-on: ubuntu-latest
needs: [build, test, lint]
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm i
- name: Create Release Pull Request / NPM Publish
uses: changesets/action@v1
with:
publish: npm run publish-changeset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}