diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a76c917..ad3c1a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,9 +20,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - name: Install dependencies @@ -32,7 +32,9 @@ jobs: - name: Run tests run: npm test - name: Upload coverage data to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Build package run: npm run build - name: Lint package diff --git a/.github/workflows/prLinter.yml b/.github/workflows/prLinter.yml new file mode 100644 index 0000000..ed02803 --- /dev/null +++ b/.github/workflows/prLinter.yml @@ -0,0 +1,12 @@ +name: Lint PR title +on: + pull_request: + types: [opened, reopened, edited, synchronize] + +jobs: + lint: + name: Lint PR title + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: comandeer/lint-pr-title@v1