mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Only rurnn post-deploy on macos
This commit is contained in:
parent
11f0b6ef6e
commit
8aad6b7945
1 changed files with 8 additions and 0 deletions
|
|
@ -1,7 +1,15 @@
|
|||
import { isMacOS } from 'std-env'
|
||||
|
||||
import axios from 'axios'
|
||||
|
||||
;(async () => {
|
||||
|
||||
if ( !isMacOS ) {
|
||||
console.log('Not on macOS, skipping')
|
||||
|
||||
process.exit()
|
||||
}
|
||||
|
||||
const { data } = await axios.get(`https://master--doesitarm.netlify.app/apple-silicon-app-test`)
|
||||
|
||||
console.log( data.slice(0, 100) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue