Skip to content

releases-tab - Mention that it requires a token (#7275) #1

releases-tab - Mention that it requires a token (#7275)

releases-tab - Mention that it requires a token (#7275) #1

Workflow file for this run

name: Test
on:
pull_request:
branches:
- '*'
push:
branches:
- main
- 'test/*'
jobs:
Security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npx lockfile-lint --path package-lock.json --validate-https
Vitest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run vitest -- --exclude 'build/features*' --exclude '**/selectors*'
- run: npm run vitest -- selectors
continue-on-error: true
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run lint
Types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run build:typescript
Build:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run build:webpack -- --json webpack-stats.json
- name: Send webpack stats to RelativeCI
if: matrix.os == 'ubuntu-latest'
uses: relative-ci/agent-action@v2
with:
webpackStatsFile: ./webpack-stats.json
key: ${{ secrets.RELATIVE_CI_KEY }}
- uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest'
with:
name: refined-github
path: distribution
Safari:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run build:webpack
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'
- run: npm run pack:safari