Skip to content

update lock

update lock #126

Workflow file for this run

name: Simple Node js CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"
- name: Install dependencies (Next.js)
run: yarn install --immutable
working-directory: ./
- name: Setup environment
run: |
echo "${{ secrets.ENV_GLOBAL }}" > .env
working-directory: ./
- name: Build Next.js project
run: yarn build
working-directory: ./