Skip to content

remove extra check

remove extra check #38

on:
push:
branches: ['ijjk/update-ci-workflow']
name: Build, test, and deploy
env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.6.3
RUST_TOOLCHAIN: nightly-2023-03-09
PNPM_VERSION: 7.24.3
NODE_MAINTENANCE_VERSION: 16
NODE_LTS_VERSION: 18
jobs:
build:
runs-on: self-linux-x64-16gb
env:
TURBO_TEAM: 'vercel'
TURBO_REMOTE_ONLY: 'true'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
NEXT_TELEMETRY_DISABLED: 1
# we build a dev binary for use in CI so skip downloading
# canary next-swc binaries in the monorepo
NEXT_SKIP_NATIVE_POSTINSTALL: 1
steps:
- run: node -v
- run: rustc --version
- run: pwd
- uses: actions/checkout@v3
with:
fetch-depth: 25
- run: fnm use 18
- run: rustup toolchain install "${RUST_TOOLCHAIN}"
- run: rustup default "${RUST_TOOLCHAIN}"
- run: npm i -g "pnpm@${PNPM_VERSION}" "turbo@${TURBO_VERSION}" "@napi-rs/cli@${NAPI_CLI_VERSION}"
- run: pnpm store path
- run: pnpm install
- run: pnpm build
- run: turbo build-native -- --target x86_64-unknown-linux-gnu
- run: pnpm playwright install-deps
- run: pnpm playwright install chromium
- run: git clean -xdf test; git checkout test;
- run: node run-tests.js --type development -c 5
name: Run development/ tests
- run: node run-tests.js --type production -c 5
name: Run production/ tests
- run: node run-tests.js --type e2e -c 5
name: Run e2e dev tests
env:
NEXT_TEST_MODE: 'dev'
- run: node run-tests.js --type e2e -c 5
name: Run e2e start tests
env:
NEXT_TEST_MODE: 'start'