diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 9cb8182..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: circleci/node:12.16.2-browsers-legacy - environment: - NO_SANDBOX: true - steps: - - checkout - - run: - command: npm ci - - run: - command: npm run lint - - run: - command: npm run build diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..23147d2 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Build + +on: + pull_request: + push: + branches: + - master + - github-actions + +defaults: + run: + shell: bash + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: npm ci + - run: npm run lint + - run: npm run build