chore(ci): setup basic usage

This commit is contained in:
Carter Snook
2023-02-16 15:43:35 -06:00
parent 7fcd340166
commit e98807ae42

View File

@@ -1,14 +1,11 @@
name: test
name: Node.js
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
@@ -16,10 +13,10 @@ jobs:
node-version: [18.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 run build
- 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 run build