Implement Instagram post downloading #142
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: Run tests and linters for Vue application | |
on: | |
pull_request: | |
paths: | |
- "**/*.[jt]s?" | |
- "web/vue-app/package.json" | |
- "web/vue-app/yarn.lock" | |
branches: | |
- master | |
- dev | |
defaults: | |
run: | |
working-directory: "web/vue-app" | |
jobs: | |
test: | |
name: Run tests and linters for Vue application | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
strategy: | |
matrix: | |
node-version: ["18"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{matrix.node-version}} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{matrix.node-version}} | |
cache: "yarn" | |
cache-dependency-path: "web/vue-app/yarn.lock" | |
- name: Install dependencies | |
run: yarn install | |
- name: Build application | |
run: npm run build | |
- name: Run tests | |
run: npm run lint |