Skip to content

chore: update versions #36

chore: update versions

chore: update versions #36

Workflow file for this run

name: Checks
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- run: npm ci
- run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: dist/
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- run: npm ci
- run: npm test
e2e:
name: E2E
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- name: Download build artifacts
uses: actions/download-artifact@v2
with:
name: build-artifacts
path: dist/
- run: git config --global user.email "you@example.com"
- run: git config --global user.name "Your Name"
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- run: npm ci
- run: npm run e2e
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- run: npm ci
- run: npm run lint