Skip to content

Commit

Permalink
Merge pull request #1 from snow-developments/ci
Browse files Browse the repository at this point in the history
Add a CI workflow
  • Loading branch information
chances committed Jan 24, 2024
2 parents 1d7ba2a + 7e58f1e commit 8b111a5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Firebase Pack CI

on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
# See https://nodejs.org/en
node-version: [16.x, 20.x]

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 ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 8b111a5

Please sign in to comment.