diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 050b420..ebf3723 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,29 +9,19 @@ on: - main types: [opened, synchronize, reopened] -env: - CI: true - NODE_VERSION: 16 - -defaults: - run: - shell: bash - jobs: lint: name: 📚 lint and type check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2.2.4 - - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'pnpm' - name: Install dependencies run: pnpm install - shell: bash - name: lint run: pnpm test-linter - name: type check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad99f68..d5fea83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - run: npx changelogithub --draft