init sub project #349
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
nodejs_version: 18.x | |
repo_dir: sub | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.nodejs_version }} | |
cache: 'npm' | |
cache-dependency-path: ${{ env.repo_dir }}/package-lock.json | |
- run: | | |
cd $repo_dir && npm ci |