Skip to content

Merge pull request #34 from atom-community/renovate/devdependencies #180

Merge pull request #34 from atom-community/renovate/devdependencies

Merge pull request #34 from atom-community/renovate/devdependencies #180

Workflow file for this run

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 }}