From 805ea265d90b26b558488c1b364e8ea31d08f93c Mon Sep 17 00:00:00 2001 From: Lala Date: Tue, 16 Jan 2024 12:30:58 +0800 Subject: [PATCH] fix yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f88092..6930cdc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,11 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. - run: | + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'npm' + - run: | npm ci npm run build