Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move eslint-config-scratch to GithubActions #141

Merged
merged 6 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@scratchfoundation/scratch-engineering
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build eslint-config-scratch

delasare marked this conversation as resolved.
Show resolved Hide resolved
on:
push:
permissions:
contents: write # publish a GitHub release
pages: write # deploy to GitHub Pages
issues: write # comment on released issues
pull-requests: write # comment on released pull requests
jobs:
build-eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install Dependencies
run: npm install
- name: Test
run: npm test
- name: Semantic Release
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx --no -- semantic-release

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
},
"repository": {
"type": "git",
"url": "https://github.com/LLK/eslint-config-scratch.git"
"url": "https://github.com/scratchfoundation/eslint-config-scratch.git"
},
"author": "Massachusetts Institute of Technology",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/LLK/eslint-config-scratch/issues"
"url": "https://github.com/scratchfoundation/eslint-config-scratch/issues"
},
"homepage": "https://github.com/LLK/eslint-config-scratch#readme",
"homepage": "https://github.com/scratchfoundation/eslint-config-scratch#readme",
"keywords": [
"eslint",
"eslintconfig",
Expand Down
2 changes: 1 addition & 1 deletion renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",

"extends": [
"github>LLK/scratch-renovate-config:conservative"
"github>scratchfoundation/scratch-renovate-config:conservative"
]
}
Loading