diff --git a/.circleci/config.yml b/.circleci/config.yml index 8751778..5088a37 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - node: circleci/node@5.0.3 + node: circleci/node@7.1.0 jobs: build: docker: @@ -9,7 +9,7 @@ jobs: - checkout - node/install: install-yarn: true - node-version: '18.17' + node-version: '20' - node/install-packages: pkg-manager: yarn - run: yarn build diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8b4ce0c..6b8dba7 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -6,10 +6,10 @@ on: pull_request: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 22.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} @@ -18,8 +18,6 @@ jobs: node-version: ${{ matrix.node-version }} - name: install run: yarn --frozen-lockfile - - name: Typecheck - run: yarn typecheck - name: Build run: | yarn build @@ -27,7 +25,7 @@ jobs: env: CI: true - name: Deploy 🚀 - if: ${{ github.event_name == 'push' && matrix.node-version == '18.x'}} + if: ${{ github.event_name == 'push' && matrix.node-version == '20.x'}} uses: JamesIves/github-pages-deploy-action@v4.7.3 with: BRANCH: gh-pages # The branch the action should deploy to. diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..f2bf425 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: yarn install && yarn run build + command: yarn run start + +