Check for script src existence #193
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.17.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm run test:ember | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.17.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm run lint | |
ember-try: | |
needs: [lint, test] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.17.x ] | |
ember: [ | |
ember-lts-3.28, | |
ember-lts-3.24, | |
ember-4.1, | |
ember-release, | |
ember-beta, | |
ember-canary, | |
ember-default-with-jquery, | |
ember-classic, | |
embroider-safe, | |
embroider-optimized | |
] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests for ${{ matrix.ember }} | |
run: ./node_modules/.bin/ember try:one ${{ matrix.ember }} |