Bump braces from 3.0.2 to 3.0.3 #232
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-core | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: | | |
npm ci | |
for file in configs/*.example.json; do | |
filename=$(basename "$file" .example.json) | |
new_filename="${filename%.example}" | |
cp "$file" "configs/$new_filename.json" | |
done | |
cp configs/config.example.json config.json | |
npm run build | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Run eslint | |
run: | | |
npm ci | |
for file in configs/*.example.json; do | |
filename=$(basename "$file" .example.json) | |
new_filename="${filename%.example}" | |
cp "$file" "configs/$new_filename.json" | |
done | |
cp configs/config.example.json config.json | |
npm run lint |