Skip to content

feat: switch to rolldown-vite, add oxfmt #2

feat: switch to rolldown-vite, add oxfmt

feat: switch to rolldown-vite, add oxfmt #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Stylelint
run: pnpm lint:css
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test
- name: Build
run: pnpm build
docker:
needs: lint-test-build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to YC Container Registry
uses: docker/login-action@v3
with:
registry: cr.yandex
username: json_key
password: ${{ secrets.YC_SA_KEY_JSON }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64
tags: |
cr.yandex/crpml6ifd12s8cbmbg3m/atlas:latest
cr.yandex/crpml6ifd12s8cbmbg3m/atlas:${{ github.sha }}