Skip to content

Commit

Permalink
ci: create workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Nov 15, 2023
1 parent 3d44469 commit 72bee83
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test Scratch Asset Types
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_ENV: production
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: "npm"
node-version-file: '.nvmrc'
- name: Run NPM Commands
run: |
npm --production=false install
npm --production=false update
npm --production=false prune
- name: Run Lint
run: |
npm run lint
- name: Run Tests
run: |
npm run test

0 comments on commit 72bee83

Please sign in to comment.