Merge pull request #69 from relative-ci/dependabot/npm_and_yarn/main/… #146
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: build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
# Install dependencies | |
- run: npm ci | |
# Lint | |
- run: npm run lint -- --quiet | |
# Build and send bundle stats and CI information to RelativeCI | |
- run: npm run build | |
env: | |
RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }} |