fix(deps): update dependencies #174
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
Lint: | |
if: "${{ !contains(github.event.head_commit.message, '[skip ci]') }}" | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install ✨ | |
run: pnpm install | |
- name: Format ✨ | |
run: pnpm run test.format | |
- name: Lint ✨ | |
run: pnpm run test.lint | |
- name: Commit lint ✨ | |
uses: wagoid/commitlint-github-action@v5 | |
Release: | |
needs: [Lint] | |
if: github.ref == 'refs/heads/master' && | |
github.event.repository.fork == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install ✨ | |
run: pnpm install | |
- name: Release 🎉 | |
uses: cycjimmy/semantic-release-action@v2 | |
with: | |
extends: | | |
@atom-ide-community/semantic-release-npm-config | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |