Skip to content

Commit

Permalink
ci(build): create github actions workflow for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
charles4221 committed Jan 11, 2024
1 parent b9e2393 commit 98a7d10
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- main
- release/*
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Node.js v20.10.0
uses: actions/setup-node@v3
with:
node-version: '20.10.0'
registry-url: https://npm.fontawesome.com/
scope: '@fortawesome'
cache: 'npm'

- name: Install Node Dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_CONFIG_FONT_AWESOME_TOKEN }}

- name: Build Next.js App
run: npm run build

0 comments on commit 98a7d10

Please sign in to comment.