diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4b63672 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +--- + name: CI + + on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + + permissions: + contents: read + + jobs: + ci: + name: Run CI + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 + with: + node-version: 20 + cache: npm + + - run: npm install + + - run: node generator.js