Skip to content

ci: modify v-next ci #6

ci: modify v-next ci

ci: modify v-next ci #6

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: v-next app CI
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [20.14.0]
env:
AUTH_SECRET: ${{secrets.AUTH_SECRET}}
AUTH_GITHUB_ID: ${{secrets.AUTH_GITHUB_ID}}
AUTH_GITHUB_SECRET: ${{secrets.AUTH_GITHUB_SECRET}}
AUTH_TRUST_HOST: ${{secrets.AUTH_TRUST_HOST}}
steps:
- uses: actions/checkout@v4
- run: ls && pwd
- run: rush install
- run: rush build --to v-next
- run: pm2 restart v-next