diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 681f4a9..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: 2.1 -orbs: - commitlint: conventional-changelog/commitlint@1.0.0 - node: circleci/node@5.0.3 -alias: - - &defaults - docker: - - image: cimg/node:18.12.1 - executor: node/default -jobs: - main-job: - <<: *defaults - steps: - - checkout - - node/install-packages - - run: npm test - - run: npx --no -- semantic-release -workflows: - version: 2 - commitlint: - jobs: - - commitlint/lint: - target-branch: master - filters: - branches: - ignore: - - master - main-workflow: - jobs: - - main-job: - context: - - scratch-npm-creds diff --git a/.github/CODEOWNERS.md b/.github/CODEOWNERS.md new file mode 100644 index 0000000..a905f98 --- /dev/null +++ b/.github/CODEOWNERS.md @@ -0,0 +1 @@ +@scratchfoundation/scratch-engineering diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..bb2f8d3 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 + diff --git a/package.json b/package.json index 57fa48b..8cfc95a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/renovate.json5 b/renovate.json5 index 5615b31..4d8b5b3 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -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" ] }