chore: add FUNDING.yml (#32) #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# This step uses the actions/checkout action to download a copy of your repository on the runner. | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
# This step uses the actions/setup-node action to set up a Node.js environment on the runner. | |
- name: Setup Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
# This step runs npm ci to install any dependencies listed in your package.json file. | |
- name: Install dependencies | |
run: npm ci | |
# This step runs the build script if there is one specified under the scripts key in your package.json file. | |
- name: Build | |
run: npm run build --if-present |