Skip to content

Potential fix for code scanning alert no. 1: Prototype-polluting assi… #254

Potential fix for code scanning alert no. 1: Prototype-polluting assi…

Potential fix for code scanning alert no. 1: Prototype-polluting assi… #254

Workflow file for this run

name: Branch Check
on:
push:
branches-ignore:
- "main" # Ignores pushes to the main branch
jobs:
build:
if: github.repository == 'SundaeSwap-finance/sundae-sdk'
permissions:
id-token: write
contents: write
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: actions/setup-node@v3
with:
node-version: 22
# Install dependencies
- name: Install
run: bun install --frozen-lockfile --ignore-scripts
# Lint
- name: Lint
run: bun lint
# Build
- name: Build
run: bun run build
# Run Tests
- name: Run Tests
run: bun test:all
# Release
- name: Release (Canary)
run: |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
bun changeset version --snapshot dev
bun changeset publish --tag dev --no-git-tag --access public