Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 #1026
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
# This workflow will do a clean install of node dependencies and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: javascript-test-runner / pr | |
on: pull_request | |
jobs: | |
precheck: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- name: Use Node.js LTS (18.x) | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | |
with: | |
node-version: 18.x | |
- name: Install project dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run exercism/javascript ci precheck (lint code) | |
run: bin/lint.sh | |
ci: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install project dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build the test-runner (using Node ${{ matrix.node-version }}) | |
run: bin/test.sh | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 | |
with: | |
install: true | |
- name: Build Docker image and store in cache | |
uses: docker/build-push-action@af5a7ed5ba88268d5278f7203fb52cd833f66d6e | |
with: | |
context: . | |
push: false | |
load: true | |
tags: exercism/javascript-test-runner | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Run Tests in Docker | |
run: bin/run-tests-in-docker.sh |