Rename ci.yml to ci.yaml

This commit is contained in:
Rin Arakaki 2023-02-12 19:44:16 +09:00 committed by GitHub
parent a0ec2c717e
commit d53a1914c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
.github/workflows/ci.yaml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Continuous integration
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Create npm configuration
run: echo "//npm.pkg.github.com/:_authToken=${token}" >> ~/.npmrc
env:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test