Bump actions/add-to-project from 0.6.1 to 1.0.0 #22
Workflow file for this run
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: Unit Tests & Integration Tests | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Install npm dependencies | |
run: | | |
npm install | |
- name: Lint with eslint | |
run: | | |
npm run lint:hbs | |
npm run lint:js | |
tests: | |
runs-on: ubuntu-latest | |
needs: lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 12 | |
- name: Install npm dependencies | |
run: | | |
npm install -g [email protected] | |
npm install | |
- name: Run tests | |
run: | | |
ember test | |
build: | |
runs-on: ubuntu-latest | |
needs: tests | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 12 | |
- name: Install npm dependencies | |
run: | | |
npm install -g [email protected] | |
npm install | |
- name: Build | |
run: | | |
ember build | |
- name: Upload build | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: build | |
path: 'dist/' |