Update distroless nodejs image (#1224) #1066
Workflow file for this run
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
name: Release | |
on: | |
push: | |
branches: | |
- beta | |
- master | |
permissions: {} | |
jobs: | |
release: | |
name: Publish & Deploy | |
permissions: | |
contents: write | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }} | |
- name: Set up Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Publish to npm | |
uses: changesets/action@v1 | |
with: | |
publish: yarn release | |
version: yarn stage | |
env: | |
GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.SEEK_OSS_CI_NPM_TOKEN }} | |
- name: Deploy to GitHub Pages | |
run: yarn deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
IS_GITHUB_PAGES: true |