Skip to content

Commit

Permalink
Merge pull request #141 from scratchfoundation/rd/move-eslint-config-…
Browse files Browse the repository at this point in the history
…to-gha

Move eslint-config-scratch to GithubActions
  • Loading branch information
Ron de las Alas authored Sep 28, 2023
2 parents a374275 + e83aa95 commit 93a13c4
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 36 deletions.
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

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

0 comments on commit 93a13c4

Please sign in to comment.