diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 172b109..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,36 +0,0 @@ -version: 2.1 - -executors: - nodejs: - docker: - - image: cimg/node:18.13 - working_directory: ~/goodbye-rfc-2822-date-time - -jobs: - lint: - executor: nodejs - steps: - - checkout - - restore_cache: - name: Restore Yarn Package Cache - keys: - - v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }} - - v1-yarn-{{ checksum "package.json" }}- - - run: yarn install --frozen-lockfile - - run: yarn package - - run: yarn lint - - save_cache: - name: Save Yarn Package Cache - key: v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }} - paths: - - ~/.cache/yarn - - store_artifacts: - path: web-ext-artifacts - - store_artifacts: - path: goodbye-rfc-2822-date-time.tar.gz - -workflows: - version: 2 - lint-deploy: - jobs: - - lint diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..663e3e2 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +name: lint +on: push +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: "yarn" + node-version: "20.x" + - run: yarn --frozen-lockfile + - run: yarn package + - run: yarn lint