Skip to content

chore(deps): bump cycjimmy/semantic-release-action from 3 to 4 #60

chore(deps): bump cycjimmy/semantic-release-action from 3 to 4

chore(deps): bump cycjimmy/semantic-release-action from 3 to 4 #60

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@v3
- 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@v3
- 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@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}