Skip to content

Bump esbuild from 0.20.2 to 0.21.2 #77

Bump esbuild from 0.20.2 to 0.21.2

Bump esbuild from 0.20.2 to 0.21.2 #77

Workflow file for this run

name: "Build"
on:
push:
branches:
- main
pull_request:
jobs:
npm:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20.12.2
# cache: "yarn"
- name: Install dependencies
run: npx -y cnpm install
- name: Build
run: yarn build
- name: Test
run: yarn test
# - name: Publish code coverage
# if: endsWith(github.ref, '/main') && github.event_name == 'push'
# run: yarn coverage
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Publish to npm
if: endsWith(github.ref, '/main') && github.event_name == 'push'
run: ./publish.sh ${{ secrets.NPM_AUTH_TOKEN }}