PLT-621 chore(ci/actions): pin GitHub Actions SHAs #100
Workflow file for this run
This file contains hidden or 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: Pull Requests | |
| on: | |
| pull_request: | |
| env: | |
| CI: true | |
| jobs: | |
| test-locked-deps: | |
| name: Locked Deps | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
| - name: Install Node | |
| uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2 | |
| with: | |
| node-version: 16 | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Lint JS | |
| run: yarn lint:js | |
| - name: Lint Handlebars | |
| run: yarn lint:hbs | |
| - name: Browser Tests | |
| run: yarn test | |
| test-old-dependencies: | |
| name: Oldest Supported Env | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
| - name: Install Node | |
| uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2 | |
| with: | |
| node-version: 10 | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile --ignore-engines | |
| - name: Browser Tests | |
| run: $(yarn bin ember) test | |
| test-try: | |
| name: Ember Try | |
| runs-on: ubuntu-20.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| scenario: | |
| - ember-lts-3.12 | |
| - ember-lts-3.16 | |
| - ember-lts-3.20 | |
| - ember-lts-3.24 | |
| - ember-release | |
| - ember-beta | |
| # https://github.com/emberjs/ember-test-helpers/pull/1066 | |
| # - ember-canary | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
| - name: Install Node | |
| uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2 | |
| with: | |
| node-version: 16 | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Try Scenario | |
| run: yarn ember try:one ${{ matrix.scenario }} |