Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Bump @babel/traverse from 7.12.12 to 7.23.2 #204

Bump @babel/traverse from 7.12.12 to 7.23.2

Bump @babel/traverse from 7.12.12 to 7.23.2 #204

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
release:
types:
- published
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 15
- run: npm ci
- run: npm run test:lint
test:
name: Test - ${{ matrix.os }}/Node ${{ matrix.node_version }}
strategy:
matrix:
node_version:
- 10
- 12
- 14
- 15
os:
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- run: npm ci
- run: npm run test:unit
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 15
- run: npm ci
- run: npm run test:coverage
- uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
publish:
needs:
- lint
- test
- coverage
if: github.event.action == 'published'
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org/
node-version: 15
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}