Skip to content

build(deps): bump @babel/traverse from 7.21.3 to 7.23.2 (#75) #23

build(deps): bump @babel/traverse from 7.21.3 to 7.23.2 (#75)

build(deps): bump @babel/traverse from 7.21.3 to 7.23.2 (#75) #23

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest ]
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
- name: build
run: |
yarn install --frozen-lockfile
yarn run build
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest ]
needs: build
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
- name: build
run: |
yarn install --frozen-lockfile
yarn run build
- name: test
run: yarn run test
- name: coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
deploy:
runs-on: ubuntu-latest
needs: [ build, test ]
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
- name: build
run: |
yarn install --frozen-lockfile
yarn run build
- name: deploy
uses: codfish/semantic-release-action@v2
with:
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}