Skip to content

chore(deps-dev): bump the all group with 7 updates #299

chore(deps-dev): bump the all group with 7 updates

chore(deps-dev): bump the all group with 7 updates #299

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn format:check
- run: yarn lint
- run: yarn typecheck
- run: yarn build
- run: yarn test
- name: test built package
run: |
mkdir ../foo
cd ../foo
yarn init -y
yarn add esbuild-plugin-browserslist@"../esbuild-plugin-browserslist"
yarn install
echo "
const { esbuildPluginBrowserslist, resolveToEsbuildTarget } = require('esbuild-plugin-browserslist');
const assert = require('assert');
assert.strictEqual(esbuildPluginBrowserslist().name, 'esbuild-plugin-browserslist');
assert.strictEqual(resolveToEsbuildTarget(['chrome 90'])[0], 'chrome90');
" > test.js
node test.js