diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d5695a..1e1748c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,48 +1,50 @@ name: CI - -on: +'on': push: paths-ignore: - - 'docs/**' + - docs/** - '*.md' pull_request: paths-ignore: - - 'docs/**' + - docs/** - '*.md' - jobs: test: runs-on: ${{ matrix.os }} - strategy: matrix: - node-version: [10, 12, 14, 16, 17] - os: [macos-latest, ubuntu-latest, windows-latest] - + node-version: + - 10 + - 12 + - 14 + - 16 + - 17 + os: + - macos-latest + - ubuntu-latest + - windows-latest steps: - uses: actions/checkout@v2 - - name: Use Node.js uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: Install Dependencies run: | npm install --ignore-scripts - - name: Lint run: | npm run lint:ci - - name: Run Tests run: | npm test - automerge: needs: test runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write steps: - - uses: fastify/github-action-merge-dependabot@v2.7.1 + - uses: fastify/github-action-merge-dependabot@v3 with: github-token: ${{ secrets.GITHUB_TOKEN }}