modify time backka review post #18
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
name: ci | |
on: [push, pull_request] | |
jobs: | |
run-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: node_modules | |
key: npm-packages-${{ hashFiles('**/package-lock.json') }} | |
- name: Install the project dependencies | |
if: steps.cache.outputs.cache-hit == false | |
run: npm ci | |
- name: Setting env variables | |
run: echo "NEXT_PUBLIC_IMAGE_URL=${{ secrets.NEXT_PUBLIC_IMAGE_URL }}" >> $GITHUB_ENV | |
- name: Build | |
run: npm run build |