Skip to content

added yarn lock

added yarn lock #5

name: Node.js CI/CD
on:
push:
branches: ["main"]
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install --global yarn
- run: yarn install --frozen-lockfile
- run: pm2 start npm -- dev