Skip to content

Bump serde from 1.0.209 to 1.0.210 in /src-tauri #2784

Bump serde from 1.0.209 to 1.0.210 in /src-tauri

Bump serde from 1.0.209 to 1.0.210 in /src-tauri #2784

Workflow file for this run

# Contains unit test, lint, dependabot automerge logic
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
pull-requests: write
contents: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# installs dependencies
- run: npm ci
# build
- name: Run ESLint
run: npm run lint
- name: Ensure project builds
run: npm run build
# run tests
- name: Run jest unit tests
run: npm run test:report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
verbose: true
dependabot-auto-merge:
needs: [test]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{(steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor')}}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}