Skip to content

Restore support for file lists (#177) #236

Restore support for file lists (#177)

Restore support for file lists (#177) #236

Workflow file for this run

env: {}
# FILE GENERATED WITH: npx ghat sindresorhus/refined-github/.github/workflows/test.yml
# SOURCE: https://github.com/sindresorhus/refined-github
# OPTIONS: {"exclude":["jobs.Types","jobs.Vitest"]}
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
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm run lint
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v3
with:
name: npmhub
path: distribution
Safari:
needs: Build
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: npmhub
path: distribution
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- run: npm run pack:safari