chore: Update update.json for the 1.10.0 release (#224) #37
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
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
name: CI | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'package.json' | |
cache: 'npm' | |
- name: Print environment | |
run: | | |
node --version | |
npm --version | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Code Style | |
run: npm run cs-check | |
- name: Lint | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
env: | |
TEST_TAG: user/app:test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build container | |
uses: docker/build-push-action@v6 | |
with: | |
tags: ${{ env.TEST_TAG }} | |
file: Dockerfile | |
load: true | |
context: . | |
- name: Run container | |
run: | | |
docker run --rm ${{ env.TEST_TAG }} && sleep 5 |