Skip to content

Bump eslint-plugin-import from 2.30.0 to 2.31.0 in /js #757

Bump eslint-plugin-import from 2.30.0 to 2.31.0 in /js

Bump eslint-plugin-import from 2.30.0 to 2.31.0 in /js #757

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: test-${{github.ref}}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
go-version: [1.18.x, v1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
%LocalAppData%\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: make test
js-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./js
strategy:
fail-fast: true
matrix:
nodejs: [16, 18]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Cache 📦
uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: v1.19.x
- name: Node ⬢
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.nodejs }}
- name: Setup 🐹
uses: acifani/setup-tinygo@v1
with:
tinygo-version: 0.27.0
- name: Install 🔧
run: npm install
- name: Build 🛠
run: npm run build
- name: Test 🧪
run: npm test