chore(deps): update devdependency stylelint to v15 - autoclosed #1348
Workflow file for this run
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: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
CI: true | |
jobs: | |
Test: | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: [ubuntu-latest, macos-latest, windows-latest] | |
os: [ubuntu-latest, macos-latest] | |
version: [stable, beta] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: UziTech/action-setup-atom@v3 | |
with: | |
version: ${{ matrix.version }} | |
- name: Install dependencies | |
run: apm install | |
- name: Run tests 👩🏾💻 | |
run: atom --test spec | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- name: NPM install | |
run: npm install | |
- name: Lint ✨ | |
run: npm run lint | |
Release: | |
needs: [Test, Lint] | |
if: | | |
github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: UziTech/action-setup-atom@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- name: NPM install | |
run: npm install | |
- name: Release 🎉 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }} | |
run: npx semantic-release |