Skip to content

chore(deps-dev): bump jest from 29.6.4 to 29.7.0 #62

chore(deps-dev): bump jest from 29.6.4 to 29.7.0

chore(deps-dev): bump jest from 29.6.4 to 29.7.0 #62

Workflow file for this run

name: Main
on: push
# TODO - Need to not repeat the checkout and setup node steps...
jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
lint:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm i
- run: npm run lint
test:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 14, 16, 18 ]
name: Node ${{ matrix.node }} test
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm i
- run: npm t
- uses: codecov/codecov-action@v3
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- name: Checkout
uses: actions/checkout@v4
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}