This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
feat: handle non existent or unparsable files #16
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- '**/*' | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
jobs: | |
ci: | |
name: 🏗 CI | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[no github actions]')" | |
steps: | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
- name: ⎔ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: 📥 Install dependencies | |
run: npm ci | |
- name: 🔬 Lint | |
run: npm run lint | |
- name: 🧪 Test | |
run: npm run test | |
- name: ⚙ Build | |
run: npm run build | |
env: | |
NODE_ENV: production | |
- name: 🚀 Release | |
uses: cycjimmy/semantic-release-action@v4 | |
with: | |
extends: | | |
@pager/web-semantic-release-config | |
env: | |
NPM_PUBLISH: 'true' | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
SEMANTIC_RELEASE_PACKAGE: 'Eslint Plugin - CSS Modules' | |
SKIP_MESSAGE: '[no github actions]' |